SDL_HINT_VIDEO_HIGHDPI_DISABLED

This commit is contained in:
def 2017-07-09 19:53:02 +02:00
parent 53565aa937
commit d0f4ffdaad

View file

@ -637,6 +637,8 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt
if(g_Config.m_InpMouseOld)
SDL_SetHint(SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1");
SDL_SetHint(SDL_HINT_VIDEO_HIGHDPI_DISABLED, "1");
m_pWindow = SDL_CreateWindow(
pName,
SDL_WINDOWPOS_UNDEFINED,