mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-23 18:30:50 +01:00
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:
parent
28d7f2eaa2
commit
7157c3b441
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user