Codechange: Consistently use screen size and not driver resolution for determining window sizes.

This commit is contained in:
Michael Lutz
2021-01-06 23:02:10 +01:00
parent b66e977acd
commit 8906e9e0fd
2 changed files with 4 additions and 4 deletions

View File

@@ -270,7 +270,7 @@ bool VideoDriver_Cocoa::ToggleFullscreen(bool full_screen)
*/
bool VideoDriver_Cocoa::AfterBlitterChange()
{
this->ChangeResolution(_screen.width, _screen.height);
this->ChangeResolution(_cur_resolution.width, _cur_resolution.height);
this->UpdatePalette(0, 256);
return true;
}