always reset those just in case

This commit is contained in:
Alug committed 2024-12-20 11:35:30 +01:00
1 parent 4f037896db
commit 92c0ddd068
1 file changed
+3
+3
View File
@@ -710,6 +710,9 @@ static void I_CheckDesktopRes(void)
return;
}
desktopwidth = 0;
desktopheight = 0;
currentDisplayIndex = SDL_GetWindowDisplayIndex(window);
// No valid index