mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
#92 reset upscale hack on resize for both opengl and d3d9
This commit is contained in:
parent
e6c878fc49
commit
7f04db3dd3
@ -436,5 +436,9 @@ DWORD WINAPI d3d9_render_main(void)
|
|||||||
|
|
||||||
fpsl_frame_end();
|
fpsl_frame_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_ddraw->vhack)
|
||||||
|
InterlockedExchange(&g_ddraw->upscale_hack_active, FALSE);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -789,7 +789,8 @@ static void ogl_render()
|
|||||||
fpsl_frame_end();
|
fpsl_frame_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
InterlockedExchange(&g_ddraw->upscale_hack_active, FALSE);
|
if (g_ddraw->vhack)
|
||||||
|
InterlockedExchange(&g_ddraw->upscale_hack_active, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ogl_delete_context(HGLRC context)
|
static void ogl_delete_context(HGLRC context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user