Skip to content

Commit

Permalink
Update desktop_version/src/Graphics.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Misa Elizabeth Kai <[email protected]>
  • Loading branch information
AllyTally and InfoTeddy committed Feb 4, 2024
1 parent 77a5710 commit 3e57d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop_version/src/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3e57d66

Please sign in to comment.