diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 1387c4ab6..1da2d06eb 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -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