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:
parent
d267c831de
commit
58001d9de3
@ -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…
x
Reference in New Issue
Block a user