Render Saturn's rings without warnings (closes #584)

This commit is contained in:
Alexander Bock
2018-04-12 09:50:21 -04:00
parent 09e7a642bf
commit 0b332a586a
2 changed files with 1 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ local SaturnRings = {
Name = "Saturn Rings",
Path = "/Solar System/Planets/Saturn"
}
},
}

View File

@@ -243,8 +243,6 @@ void RenderableRings::render(const RenderData& data, RendererTasks&) {
_sunPosition
);
setPscUniforms(*_shader, data.camera, data.position);
ghoul::opengl::TextureUnit unit;
unit.activate();
_texture->bind();