Ops - Fixed profiler exit

It needs a glFinish( )
This commit is contained in:
Emmanuel BENOîT 2017-11-15 22:39:49 +01:00
parent 914464811a
commit c3171aba94

1
ops.cc
View file

@ -875,6 +875,7 @@ void T_OpContext::run(
} }
case OP_UI_PEXIT: case OP_UI_PEXIT:
glFinish( );
Globals::Profiler( ).end( profiling.last( ) ); Globals::Profiler( ).end( profiling.last( ) );
profiling.removeLast( ); profiling.removeLast( );
break; break;