Adapt to explicit specifcation of texture size (#1794)

* Adapt to explicit specifcation of texture size
This commit is contained in:
Alexander Bock
2021-12-26 19:19:04 +01:00
committed by GitHub
parent 01e17266b6
commit 76b9c7587b
38 changed files with 117 additions and 55 deletions
@@ -631,7 +631,7 @@ void RenderablePlanesCloud::loadTextures() {
}
std::unique_ptr<ghoul::opengl::Texture> t =
ghoul::io::TextureReader::ref().loadTexture(path.string());
ghoul::io::TextureReader::ref().loadTexture(path.string(), 2);
if (t) {
LINFOC("RenderablePlanesCloud", fmt::format("Loaded texture {}", path));