From 161d8a83ea5839f48971f6586d954abc03411979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 17 Mar 2014 09:14:19 +0100 Subject: [PATCH] [kwin] Remove unused variable in Cube Effect Left over from OpenGL1 removal. --- effects/cube/cube.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index 32e79ca4c4..c4fd93d63e 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -481,7 +481,6 @@ void CubeEffect::paintScreen(int mask, QRegion region, ScreenPaintData& data) alpha = 0.3 + 0.4 * (1.0 - timeLine.currentValue()); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - ShaderManager *shaderManager = ShaderManager::instance(); if (m_reflectionShader && m_reflectionShader->isValid()) { // ensure blending is enabled - no attribute stack ShaderBinder binder(m_reflectionShader);