diff --git a/effects/snow/snow.cpp b/effects/snow/snow.cpp index a1a536b519..76f468e3e9 100644 --- a/effects/snow/snow.cpp +++ b/effects/snow/snow.cpp @@ -144,8 +144,7 @@ void SnowEffect::snowing( QRegion& region ) mShader->setUniform( "top", rect.y() ); mShader->setUniform( "bottom", rect.y() + rect.height() ); } - else - glNewList( list, GL_COMPILE_AND_EXECUTE ); + for (int i=0; iunbind(); } - else - glEndList(); + glDisable( GL_BLEND ); texture->unbind(); glPopAttrib();