mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 06:19:25 +03:00
Update desktop_version/src/Graphics.cpp
Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
1 parent
77a571017d
commit
3e57d6620c
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user