mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
disable multisampling in case of problems
This commit is contained in:
parent
85c46220f6
commit
73841570ea
@ -998,6 +998,8 @@ void setvideomode() {
|
||||
addMessage("Failed to set the graphical mode: "+its(vid.xres)+"x"+its(vid.yres)+(vid.full ? " fullscreen" : " windowed"));
|
||||
vid.xres = 640;
|
||||
vid.yres = 480;
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 0);
|
||||
vid.antialias &= ~AA_MULTI;
|
||||
s = SDL_SetVideoMode(vid.xres, vid.yres, 32, flags | SDL_RESIZABLE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user