Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2009-12-12 07:17:06
Size: 871
Editor: SheenaSmith
Comment: format update
Revision 7 as of 2010-09-07 02:37:48
Size: 901
Editor: SheenaSmith
Comment: add RF
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
 .[[SDL_SelectVideoDisplay]]

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