|
Size: 639
Comment: Update WindowID > Window*
|
Size: 613
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| ||'''window'''||the type used to identify the window|| | ||'''window'''||the window to update|| |
| Line 24: | Line 23: |
| ''You can add useful comments here'' | This function is typically used after doing OpenGL rendering to update the display. |
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.
