Ubuntu Manpages

SDL_GL_SwapBuffers

Swap OpenGL framebuffers/Update Display

#include "SDL.h"

void SDL_GL_SwapBuffers(void );

Swap the OpenGL buffers, if double-buffering is supported.

SDL_SetVideoMode, SDL_GL_SetAttribute