diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 1ee1ce14c..5e54f50db 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -1627,7 +1627,8 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt #ifdef __ANDROID__ *pWidth = *pDesktopWidth; *pHeight = *pDesktopHeight; -#elif defined(CONF_FAMILY_MACOSX) +/* +#elif defined(CONF_FAMILY_WINDOWS) if(*pWidth == 0 || *pHeight == 0) { *pWidth = *pDesktopWidth; @@ -1643,6 +1644,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt *pHeight = *pHeight * 96 / dpi; } } +*/ #else if(*pWidth == 0 || *pHeight == 0) { @@ -1652,7 +1654,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt #endif // set flags - int SdlFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI; + int SdlFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN; #if defined(SDL_VIDEO_DRIVER_X11) if(Flags&IGraphicsBackend::INITFLAG_RESIZABLE) SdlFlags |= SDL_WINDOW_RESIZABLE;