|
Size: 570
Comment: update content (w/ Sam)
|
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 update the display with OpenGL rendering for double-buffered OpenGL contexts. | Use this function to update the window with OpenGL rendering. |
| Line 23: | Line 23: |
| ''You can add useful comments here'' | This is used with double-buffered OpenGL contexts, which are the default. |
SDL_GL_SwapWindow
Use this function to update the window with OpenGL rendering.
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 is used with double-buffered OpenGL contexts, which are the default.
