1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

Add missing ResetEvent to OpenGL renderer

This commit is contained in:
Toni Spets 2010-11-07 14:00:02 +02:00
parent d267c831de
commit 58001d9de3

View File

@ -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();