Mac OSX: Don't use desktop resolution (fixes #1174)

This commit is contained in:
Dennis Felsing 2018-06-27 11:01:59 +02:00
parent 6c1e50bba5
commit 35a26290db

View file

@ -2297,7 +2297,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt
*pDesktopHeight = DisplayMode.h;
// use desktop resolution as default resolution
#if defined(__ANDROID__) || defined(CONF_PLATFORM_MACOSX)
#ifdef __ANDROID__
*pWidth = *pDesktopWidth;
*pHeight = *pDesktopHeight;
#else