mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
Fix setting doublebuffering
This commit is contained in:
parent
bcc96ffa11
commit
f0cdc21dea
@ -1057,7 +1057,8 @@ EX void setvideomode() {
|
||||
|
||||
#if CAP_GL
|
||||
if(vid.usingGL) {
|
||||
flags = SDL_OPENGL | SDL_HWSURFACE | SDL_GL_DOUBLEBUFFER;
|
||||
flags = SDL_OPENGL | SDL_HWSURFACE;
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 1);
|
||||
if(vsync_off) disable_vsync();
|
||||
if(vid.antialias & AA_MULTI) {
|
||||
|
Loading…
Reference in New Issue
Block a user