jbhook2: fix broken windowed toggle

This commit is contained in:
Will Toohey
2022-01-03 19:56:10 +10:00
parent 64c76b5ea3
commit 69236b1775
+3 -1
View File
@@ -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)