Fix compilation

svn path=/trunk/KDE/kdebase/workspace/; revision=781465
remotes/origin/Plasma/5.0
Rivo Laks 18 years ago
parent a92a84c241
commit 23ff1daaaa
  1. 2
      effects/test/demo_showpicture.cpp

@ -43,7 +43,7 @@ void ShowPictureEffect::paintScreen( int mask, QRegion region, ScreenPaintData&
picture->bind(); picture->bind();
glEnable( GL_BLEND ); glEnable( GL_BLEND );
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
picture->render( mask, region, pictureRect ); picture->render( region, pictureRect );
picture->unbind(); picture->unbind();
glPopAttrib(); glPopAttrib();
} }

Loading…
Cancel
Save