fix exclusive fullscreen (#1456)

This commit is contained in:
Roman Fomin 2024-02-10 12:12:51 +07:00 committed by GitHub
parent 95c8ddedd1
commit 1da8be9fdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1609,7 +1609,9 @@ static void I_ReinitGraphicsMode(void)
window_position_y = 0;
I_InitGraphicsMode();
ResetResolution(CurrentResolutionHeight(), true);
CreateSurfaces(video.pitch, video.height);
ResetLogicalSize();
}
void I_ResetScreen(void)