From 5aee824bb012bd4690e5b3f11f590878131f91b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Tue, 3 Oct 2017 09:56:37 +0200 Subject: [PATCH] Fixed profiler --- main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cc b/main.cc index 4a0358a..822c102 100644 --- a/main.cc +++ b/main.cc @@ -78,6 +78,7 @@ void T_Main::mainLoop( ) initDemo( ); } + glFinish( ); p.startFrame( ); T_Profiler::Profiler.start( "Full frame" ); startIteration( );