Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-01-21 18:24:46
Size: 639
Editor: SheenaSmith
Comment: Update WindowID > Window*
Revision 3 as of 2010-08-30 00:58:40
Size: 613
Editor: SheenaSmith
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.


CategoryAPI, CategoryVideo

None: SDL_GL_SwapWindow (last edited 2020-03-29 15:38:46 by ChrisBush)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit