Update desktop_version/src/Graphics.cpp

Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
Ally 2024-02-03 22:04:14 -04:00 committed by Misa Elizabeth Kai
parent 77a571017d
commit 3e57d6620c
1 changed files with 1 additions and 1 deletions

View File

@ -3492,8 +3492,8 @@ void Graphics::get_stretch_info(SDL_Rect* rect)
rect->y = (height - SCREEN_HEIGHT_PIXELS * scale) / 2;
rect->w = SCREEN_WIDTH_PIXELS * scale;
rect->h = SCREEN_HEIGHT_PIXELS * scale;
break;
}
break;
case SCALING_LETTERBOX:
if (width * SCREEN_HEIGHT_PIXELS > height * SCREEN_WIDTH_PIXELS)
{