mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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;
|
Uint32 wndFlags = 0;
|
||||||
static string wndname;
|
static string wndname;
|
||||||
|
|
||||||
|
#if !XASH_APPLE
|
||||||
if( vid_highdpi->value ) wndFlags |= SDL_WINDOW_ALLOW_HIGHDPI;
|
if( vid_highdpi->value ) wndFlags |= SDL_WINDOW_ALLOW_HIGHDPI;
|
||||||
|
#endif
|
||||||
Q_strncpy( wndname, GI->title, sizeof( wndname ));
|
Q_strncpy( wndname, GI->title, sizeof( wndname ));
|
||||||
|
|
||||||
want.w = width;
|
want.w = width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user