SDL_GetNumDisplayModes

Use this function to return the number of available display modes.

Syntax

int SDL_GetNumDisplayModes(int displayIndex)

Function Parameters

displayIndex

the index of the display to query

Return Value

Returns a number >= 1 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

SDL_GetNumDisplayModes (last edited 2011-03-04 21:29:56 by SheenaSmith)

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