jbhook2: fix broken windowed toggle
This commit is contained in:
@@ -177,13 +177,15 @@ static HWND CDECL my_mwindow_create(
|
|||||||
window_height = tmp;
|
window_height = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fullscreen = !options.windowed;
|
||||||
|
|
||||||
return real_mwindow_create(
|
return real_mwindow_create(
|
||||||
hinstance,
|
hinstance,
|
||||||
callback,
|
callback,
|
||||||
window_title,
|
window_title,
|
||||||
window_width,
|
window_width,
|
||||||
window_height,
|
window_height,
|
||||||
0);
|
fullscreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HMODULE mod, DWORD reason, void *ctx)
|
BOOL WINAPI DllMain(HMODULE mod, DWORD reason, void *ctx)
|
||||||
|
|||||||
Reference in New Issue
Block a user