SDL_GL_SwapBuffers (3) - Linux Manuals
SDL_GL_SwapBuffers: Swap OpenGL framebuffers/Update Display
NAME
SDL_GL_SwapBuffers - Swap OpenGL framebuffers/Update DisplaySYNOPSIS
#include "SDL.h"
void SDL_GL_SwapBuffers(void );
DESCRIPTION
Swap the OpenGL buffers, if double-buffering is supported.
SEE ALSO
SDL_SetVideoMode, SDL_GL_SetAttribute