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
@@ -131,7 +131,7 @@ bool RenderableOrbitDisc::isReady() const {
}
void RenderableOrbitDisc::initialize() {
_texture = std::make_unique<TextureComponent>();
_texture = std::make_unique<TextureComponent>(1);
_texture->setFilterMode(ghoul::opengl::Texture::FilterMode::AnisotropicMipMap);
_texture->setWrapping(ghoul::opengl::Texture::WrappingMode::ClampToEdge);
_plane = std::make_unique<PlaneGeometry>(planeSize());