|
Size: 613
Comment: update content (w/ Sam); remove 'draft' note
|
Size: 570
Comment: update content (w/ Sam)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| Use this function to swap the OpenGL buffers for the window, if double-buffering is supported. | Use this function to update the display with OpenGL rendering for double-buffered OpenGL contexts. |
| Line 23: | Line 23: |
| This function is typically used after doing OpenGL rendering to update the display. | ''You can add useful comments here'' |
SDL_GL_SwapWindow
Use this function to update the display with OpenGL rendering for double-buffered OpenGL contexts.
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
You can add useful comments here
