From f62833b6992ea8b5c6338d1442db605152c1cb52 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Wed, 7 Feb 2018 13:21:18 +0100 Subject: [PATCH] Always keep same resolution on macosx --- src/engine/client/backend_sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 2812d31d5..15689b961 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -1624,7 +1624,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt *pDesktopHeight = DisplayMode.h; // use desktop resolution as default resolution -#ifdef __ANDROID__ +#if defined(__ANDROID__) || defined(CONF_PLATFORM_MACOSX) *pWidth = *pDesktopWidth; *pHeight = *pDesktopHeight; #else