Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2009-11-24 21:59:23
Size: 653
Editor: SheenaSmith
Comment: add categories
Revision 4 as of 2009-12-04 07:27:39
Size: 778
Editor: SheenaSmith
Comment: content changed
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to fill in information about the current display mode. Use this function to get information about the current display mode.
Line 15: Line 15:
||'''mode'''||the desired display mode|| ||'''mode'''||a pointer to an [[SDL_DisplayMode]] structure that is filled in with the current display mode||
Line 18: Line 18:
Information about the current display mode. Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.

SDL_GetCurrentDisplayMode

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

Syntax

int SDL_GetCurrentDisplayMode(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_GetCurrentDisplayMode (last edited 2016-04-15 22:08:43 by PhilippWiesemann)

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