From: Ralf Jung Date: Tue, 9 Apr 2013 20:29:12 +0000 (+0200) Subject: Use glFinish instead of glFlush X-Git-Url: https://git.ralfj.de/gltest.git/commitdiff_plain/8cefc2759cf91f98987e2e2b74fe913a9de88853?ds=inline;hp=08f1ed05c2541efad748e78db01af569d84c3363 Use glFinish instead of glFlush thanks to Thomas Lübking for the hint --- diff --git a/gltest.cpp b/gltest.cpp index feb794f..d8768a7 100644 --- a/gltest.cpp +++ b/gltest.cpp @@ -185,7 +185,7 @@ protected: } ////////////////////////////////////////////// profilerTick(StatePostRender); - glFlush(); + glFinish(); ++framect; ////////////////////////////////////////////// profilerTick(StateOutsideRender);