Remove unused variable in CubeEffect::loadShader

--warnings
This commit is contained in:
Martin Gräßlin 2012-11-21 14:44:45 +01:00
parent 99411ce7b1
commit 2ba5e1d6ad

View file

@ -298,7 +298,6 @@ bool CubeEffect::loadShader()
return false; return false;
} }
ShaderManager *shaderManager = ShaderManager::instance();
// TODO: use generic shader - currently it is failing in alpha/brightness manipulation // TODO: use generic shader - currently it is failing in alpha/brightness manipulation
cylinderShader = new GLShader(cylinderVertexshader, fragmentshader); cylinderShader = new GLShader(cylinderVertexshader, fragmentshader);
if (!cylinderShader->isValid()) { if (!cylinderShader->isValid()) {