Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-01-11 00:39:35
Size: 1210
Editor: SheenaSmith
Comment: added DRAFT to top for removal after page is edited
Revision 4 as of 2010-01-21 17:46:58
Size: 1206
Editor: SheenaSmith
Comment: Update WindowID > Window*
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
int SDL_SetWindowDisplayMode(SDL_WindowID windowID, int SDL_SetWindowDisplayMode(SDL_Window* window,
Line 17: Line 17:
||'''windowID'''||the type used to identify the window|| ||'''window'''||the type used to identify the window||

DRAFT

SDL_SetWindowDisplayMode

Use this function to set the display mode used when a fullscreen window is visible on the currently selected display. By default the window's dimensions and the desktop format and refresh rate are used.

Syntax

int SDL_SetWindowDisplayMode(SDL_Window*            window,
                             const SDL_DisplayMode* mode)

Function Parameters

window

the type used to identify the window

mode

a pointer to the SDL_DisplayMode to use, or NULL for the default mode

Return Value

Returns 0 on success or -1 if setting the display mode failed; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here should the underlined description above be here instead?


CategoryAPI, CategoryVideo

None: SDL_SetWindowDisplayMode (last edited 2013-11-16 13:14:41 by PhilippWiesemann)

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