From 4db74f544d2d59beefbec4bd3c6a587c7662b9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Wed, 10 Nov 2010 18:08:46 +0000 Subject: [PATCH] workaround nvidia issues with the texture cache and translucent windows svn path=/trunk/KDE/kdebase/workspace/; revision=1195268 --- lanczosfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lanczosfilter.cpp b/lanczosfilter.cpp index 02e2bb2753..24b083d8f9 100644 --- a/lanczosfilter.cpp +++ b/lanczosfilter.cpp @@ -370,7 +370,7 @@ void LanczosFilter::timerEvent( QTimerEvent *event ) void LanczosFilter::prepareRenderStates( GLTexture* tex, double opacity, double brightness, double saturation ) { #ifdef KWIN_HAVE_OPENGL_COMPOSITING - const bool alpha = true; + const bool alpha = false; // true; WORKAROUND - "true" causes issues with at least nvidia chips and translucent windows "overbrightning" // setup blending of transparent windows glPushAttrib( GL_ENABLE_BIT ); glEnable( GL_BLEND );