mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Always keep same resolution on macosx
This commit is contained in:
parent
4c8a770ba6
commit
f62833b699
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue