1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

Fix setting doublebuffering

This commit is contained in:
Kai A. Hiller 2020-03-26 11:17:27 +01:00
parent bcc96ffa11
commit f0cdc21dea

View File

@ -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) {