mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Mac OSX: Don't use desktop resolution (fixes #1174)
This commit is contained in:
parent
6c1e50bba5
commit
35a26290db
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue