mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
Merge pull request #100 from V02460/doublebuffer
Fix setting doublebuffering
This commit is contained in:
commit
a589b09fe4
@ -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