mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: platform: sdl2: use permonitor DPI awareness to avoid unneeded window titlebar resize
This commit is contained in:
@@ -107,7 +107,7 @@ void SDLash_Init( const char *basedir )
|
||||
SDL_LogSetAllPriority( SDL_LOG_PRIORITY_ERROR );
|
||||
|
||||
#if XASH_WIN32
|
||||
SDL_SetHint( SDL_HINT_WINDOWS_DPI_AWARENESS, "permonitorv2" );
|
||||
SDL_SetHint( SDL_HINT_WINDOWS_DPI_AWARENESS, "permonitor" );
|
||||
// TODO: disabled for now
|
||||
// try to test it better when we'll come back to highdpi support issue
|
||||
// SDL_SetHint( SDL_HINT_WINDOWS_DPI_SCALING, "1" );
|
||||
|
||||
Reference in New Issue
Block a user