use inline functions for WINE checks
This commit is contained in:
parent
6626480358
commit
e18eb931eb
9 changed files with 36 additions and 44 deletions
|
@ -157,7 +157,7 @@ void fpsl_frame_end()
|
|||
(g_config.vsync && (!g_config.maxfps || g_config.maxfps >= g_ddraw.mode.dmDisplayFrequency)))
|
||||
{
|
||||
/* Workaround for DwmFlush() freeze (e.g. slow alt+tab) issue on windows 7 SP1 */
|
||||
if (g_ddraw.renderer == ogl_render_main && !verhelp_is_wine() && !IsWindows8OrGreater())
|
||||
if (g_ddraw.renderer == ogl_render_main && !IsWine() && !IsWindows8OrGreater())
|
||||
{
|
||||
if (fpsl_wait_for_vblank())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue