-#ifdef WIN32
- if(drawmode!=motionblurmode) SwapBuffers( hDC);
-#elif PLATFORM_MACOSX
- if(drawmode!=motionblurmode)aglSwapBuffers(gaglContext); // send swap command
-#elif USE_SDL
- if(drawmode!=motionblurmode)SDL_GL_SwapBuffers();
-#else
- #error define your platform.
-#endif // send swap command
+ #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