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
This commit is contained in:
Rivo Laks 2008-03-07 16:56:16 +00:00
parent 9fcd3ad674
commit de09d00e33

View file

@ -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,