FPS on and Fullscreen
Restore default win size and center on screen, after leaving fullscreen when fps is on.
This commit is contained in:
parent
8eeb5b6d38
commit
128ccd4664
|
@ -268,6 +268,8 @@ void EventThread::process(RGSSThreadData &rtData)
|
|||
SDL_SetWindowTitle(win, pendingTitle);
|
||||
pendingTitle[0] = '\0';
|
||||
havePendingTitle = false;
|
||||
SDL_SetWindowSize(win, defScreenW, defScreenH);
|
||||
SDL_SetWindowPosition(win, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue