Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2009-11-24 22:00:50
Size: 627
Editor: SheenaSmith
Comment: add categories
Revision 3 as of 2009-12-04 17:39:29
Size: 861
Editor: SheenaSmith
Comment: content added
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to fill in information about the desktop display mode for the current display. Use this function to get information about the desktop display mode for the current display.
Line 15: Line 15:
||'''mode'''||points to the current display mode|| ||'''mode'''||a pointer to an [[SDL_DisplayMode]] structure that is filled in with the current display mode||
Line 18: Line 18:
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
Line 29: Line 29:
 .[[ ]]  .[[SDL_GetCurrentDisplayMode]]
 .[[SDL_GetDisplayMode]]
 .[[SDL_SetDisplayMode]]

SDL_GetDesktopDisplayMode

Use this function to get information about the desktop display mode for the current display.

Syntax

int SDL_GetDesktopDisplayMode(SDL_DisplayMode* mode)

Function Parameters

mode

a pointer to an SDL_DisplayMode structure that is filled in with the current display mode

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_GetDesktopDisplayMode (last edited 2014-06-22 11:22:22 by PhilippWiesemann)

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