Wiki Page Content

Differences between revisions 12 and 13
Revision 12 as of 2010-10-17 04:36:31
Size: 856
Editor: SheenaSmith
Comment: update content - filled in with
Revision 13 as of 2011-03-04 23:14:00
Size: 947
Editor: SheenaSmith
Comment: update content - 2/28 5421 (2/10 5244)
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
int SDL_GetCurrentDisplayMode(SDL_DisplayMode* mode) int SDL_GetCurrentDisplayMode(int displayIndex,
                              
SDL_DisplayMode* mode)
Line 15: Line 16:
||'''displayIndex'''||the index of the display to query||
Line 31: Line 33:
 .[[SDL_SelectVideoDisplay]]

SDL_GetCurrentDisplayMode

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

Syntax

int SDL_GetCurrentDisplayMode(int              displayIndex,
                              SDL_DisplayMode* mode)

Function Parameters

displayIndex

the index of the display to query

mode

an SDL_DisplayMode structure 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