Use glFinish instead of glFlush
authorRalf Jung <post@ralfj.de>
Tue, 9 Apr 2013 20:29:12 +0000 (22:29 +0200)
committerRalf Jung <post@ralfj.de>
Tue, 9 Apr 2013 20:29:12 +0000 (22:29 +0200)
thanks to Thomas Lübking for the hint

gltest.cpp

index feb794fcc08948f3d386f61e21200c073a6d2003..d8768a77dea6d8dd9c9691b790233c26383cf8e0 100644 (file)
@@ -185,7 +185,7 @@ protected:
                }
                //////////////////////////////////////////////
                profilerTick(StatePostRender);
-               glFlush();
+               glFinish();
                ++framect;
                //////////////////////////////////////////////
                profilerTick(StateOutsideRender);