#92 reset upscale hack on resize for both opengl and d3d9
This commit is contained in:
parent
e6c878fc49
commit
7f04db3dd3
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue