X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameDraw.cpp;h=967fe6802d5695046d08c9de34d9982d2c9a1dc9;hb=c95576958a42b797cda09eb8935db8fd96783e52;hp=b321e7ec0c450e392c24bdd6510bd914eb697348;hpb=c26c5303fbc3fcc607681b848bc4fd0641320691;p=lugaru.git diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index b321e7e..967fe68 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -3940,8 +3940,14 @@ int Game::DrawGLScene(GLvoid) //glFlush(); if(drawmode!=motionblurmode||mainmenu){ + #if !USE_SDL + // this prevents menus from rendering if you hit ESC during + // motion blur sequences...maybe SDL is buffering differently? if(drawmode!=motionblurmode) swap_gl_buffers(); + #else + swap_gl_buffers(); + #endif } //myassert(glGetError() == GL_NO_ERROR);