Force window resize when SetWindowFullscreen() is called

This commit is contained in:
n00b
2024-12-11 15:46:00 -05:00
parent 072024fa41
commit c354825638
2 changed files with 4 additions and 3 deletions

View File

@@ -734,7 +734,8 @@ bool rc_setWindowFullscreen(int flag)
int w, h;
//SDL_GetWindowSize(rc_window, &w, &h);
SDL_GetWindowSize(rc_window, &w, &h);
SDL_SetWindowSize(rc_window, w, h);
//irr::core::dimension2d<u32> win_size(w, h);
//device->setWindowSize(win_size);