Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2009-11-19 22:10:56
Size: 843
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2009-11-24 22:01:44
Size: 887
Editor: SheenaSmith
Comment: add categories
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:

----
[[CategoryAPI]], [[CategoryVideo]]

SDL_GetDisplayMode

Use this function to fill in information about a specific display mode.

Syntax

int SDL_GetDisplayMode(int              index,
                       SDL_DisplayMode* mode)

Function Parameters

index

the index of the display mode

mode

points to the mode of the display

Return Value

Code Examples

You can add your code example here

Remarks

The display modes are sorted in this priority:

  • bits per pixel -> more colors to fewer colors

  • width -> largest to smallest

  • height -> largest to smallest

  • refresh rate -> highest to lowest


CategoryAPI, CategoryVideo

None: SDL_GetDisplayMode (last edited 2014-06-29 22:03:03 by dthree)

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