mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-06 18:57:02 +00:00
added SDL_WINDOW_ALLOW_HIGHDPI
This commit is contained in:
parent
3eff38bb4d
commit
d09ffb37f0
@ -1173,7 +1173,7 @@ EX void setvideomode() {
|
||||
#if CAP_GL
|
||||
vid.usingGL = vid.wantGL;
|
||||
if(vid.usingGL) {
|
||||
flags = SDL12(SDL_OPENGL | SDL_HWSURFACE, SDL_WINDOW_OPENGL);
|
||||
flags = SDL12(SDL_OPENGL | SDL_HWSURFACE, SDL_WINDOW_OPENGL | SDL_WINDOW_ALLOW_HIGHDPI);
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user