SDL_GL_SwapWindow
Use this function to swap the OpenGL buffers for the window, if double-buffering is supported.
Syntax
void SDL_GL_SwapWindow(SDL_Window* window)
Function Parameters
window |
the window to update |
Code Examples
You can add your code example here
Remarks
This function is typically used after doing OpenGL rendering to update the display.
