Use glFinish instead of glFlush
[gltest.git] / gltest.cpp
index feb794fcc08948f3d386f61e21200c073a6d2003..d8768a77dea6d8dd9c9691b790233c26383cf8e0 100644 (file)
@@ -185,7 +185,7 @@ protected:
                }
                //////////////////////////////////////////////
                profilerTick(StatePostRender);
-               glFlush();
+               glFinish();
                ++framect;
                //////////////////////////////////////////////
                profilerTick(StateOutsideRender);