diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index 6afbb98d3b..3885666509 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -298,7 +298,6 @@ bool CubeEffect::loadShader() return false; } - ShaderManager *shaderManager = ShaderManager::instance(); // TODO: use generic shader - currently it is failing in alpha/brightness manipulation cylinderShader = new GLShader(cylinderVertexshader, fragmentshader); if (!cylinderShader->isValid()) {