CC: Fix unused variable warning

This commit is contained in:
Casian Andrei 2012-09-04 22:01:07 +03:00
parent f211961064
commit 5247c56f5e

View file

@ -517,8 +517,6 @@ QByteArray ColorCorrection::prepareFragmentShader(const QByteArray &sourceCode)
void ColorCorrectionPrivate::setupCCTextures()
{
Q_Q(ColorCorrection);
if (m_ccTextureUnit < 0) {
GLint maxUnits = 0;
glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxUnits);