Texture & filereader

Modified texture.cpp