Add missing ResetEvent to OpenGL renderer
This commit is contained in:
parent
d267c831de
commit
58001d9de3
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ DWORD WINAPI render_opengl_main(IDirectDrawSurfaceImpl *surface)
|
|||
|
||||
while(render_opengl.run)
|
||||
{
|
||||
ResetEvent(render_opengl.ev);
|
||||
|
||||
if(render_opengl.maxfps > 0)
|
||||
{
|
||||
tick_start = GetTickCount();
|
||||
|
|
Loading…
Reference in a new issue