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;
}
fullscreen = !options.windowed;
return real_mwindow_create(
hinstance,
callback,
window_title,
window_width,
window_height,
0);
fullscreen);
}
BOOL WINAPI DllMain(HMODULE mod, DWORD reason, void *ctx)