Wiki Page Content

Differences between revisions 7 and 8
Revision 7 as of 2010-09-07 02:37:48
Size: 901
Editor: SheenaSmith
Comment: add RF
Revision 8 as of 2010-10-08 23:17:56
Size: 888
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
||'''mode'''||a pointer to an [[SDL_DisplayMode]] structure that is filled in with the current display mode|| ||'''mode'''||an [[SDL_DisplayMode]] structure that is filled in with the current display mode||

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

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