mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Update desktop_version/src/Graphics.cpp
Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
parent
77a571017d
commit
3e57d6620c
1 changed files with 1 additions and 1 deletions
|
@ -3492,8 +3492,8 @@ void Graphics::get_stretch_info(SDL_Rect* rect)
|
||||||
rect->y = (height - SCREEN_HEIGHT_PIXELS * scale) / 2;
|
rect->y = (height - SCREEN_HEIGHT_PIXELS * scale) / 2;
|
||||||
rect->w = SCREEN_WIDTH_PIXELS * scale;
|
rect->w = SCREEN_WIDTH_PIXELS * scale;
|
||||||
rect->h = SCREEN_HEIGHT_PIXELS * scale;
|
rect->h = SCREEN_HEIGHT_PIXELS * scale;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case SCALING_LETTERBOX:
|
case SCALING_LETTERBOX:
|
||||||
if (width * SCREEN_HEIGHT_PIXELS > height * SCREEN_WIDTH_PIXELS)
|
if (width * SCREEN_HEIGHT_PIXELS > height * SCREEN_WIDTH_PIXELS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue