mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19:43 +01:00
Consistently use Screen::GetWindowSize
This commit is contained in:
parent
46d8599f62
commit
b5ef10cae5
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ void Screen::ResizeScreen(int x, int y)
|
||||||
if (stretchMode == 1)
|
if (stretchMode == 1)
|
||||||
{
|
{
|
||||||
int winX, winY;
|
int winX, winY;
|
||||||
SDL_GetRendererOutputSize(m_renderer, &winX, &winY);
|
GetWindowSize(&winX, &winY);
|
||||||
int result = SDL_RenderSetLogicalSize(m_renderer, winX, winY);
|
int result = SDL_RenderSetLogicalSize(m_renderer, winX, winY);
|
||||||
if (result != 0)
|
if (result != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue