From de09d00e331dbfa58b82ec63b657b88ca99e444b Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Fri, 7 Mar 2008 16:56:16 +0000 Subject: [PATCH] Don't try to antialias by enabling GL_POLYGON_SMOOTH, it's slow, especially on Intel cards svn path=/trunk/KDE/kdebase/workspace/; revision=783284 --- effects/flipswitch.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/effects/flipswitch.cpp b/effects/flipswitch.cpp index b94ce44385..12a2840972 100644 --- a/effects/flipswitch.cpp +++ b/effects/flipswitch.cpp @@ -79,7 +79,6 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d glEnable( GL_DEPTH_TEST ); glEnable( GL_BLEND ); glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); - glEnable( GL_POLYGON_SMOOTH ); glLoadIdentity(); glFrustum(-QApplication::desktop()->geometry().width()*0.5f, QApplication::desktop()->geometry().width()*0.5f,