engine: platform: sdl: don't enable high dpi code for Apple

It seems enables HighDPI awareness but doesn't create HighDPI OpenGL context
It needs some plist magic to be enabled back again
This commit is contained in:
Alibek Omarov 2022-08-08 23:53:17 +03:00
parent 28d7f2eaa2
commit 7157c3b441
1 changed files with 2 additions and 0 deletions

View File

@ -553,7 +553,9 @@ static qboolean VID_SetScreenResolution( int width, int height )
Uint32 wndFlags = 0;
static string wndname;
#if !XASH_APPLE
if( vid_highdpi->value ) wndFlags |= SDL_WINDOW_ALLOW_HIGHDPI;
#endif
Q_strncpy( wndname, GI->title, sizeof( wndname ));
want.w = width;