Add SDL_WINDOW_ALLOW_HIGHDPI to SDL_CreateWindow flags so Retina support works on OSX.
This commit is contained in:
@@ -1481,6 +1481,8 @@ void CreateMainFrame(FrameCreationCallback inOnFrame, int inWidth, int inHeight,
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, true);
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 2);
|
||||
}
|
||||
|
||||
requestWindowFlags |= SDL_WINDOW_ALLOW_HIGHDPI;
|
||||
}
|
||||
|
||||
#ifdef HX_LINUX
|
||||
|
||||
Reference in New Issue
Block a user