|
Size: 683
Comment: add RF
|
Size: 729
Comment: update content - 2/28 5421 (2/10 5244)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| Use this function to return the number of available display modes for the current display. | Use this function to return the number of available display modes. |
| Line 11: | Line 11: |
| int SDL_GetNumDisplayModes(void) | int SDL_GetNumDisplayModes(int displayIndex) |
| Line 13: | Line 13: |
== Function Parameters == ||'''displayIndex'''||the index of the display to query|| |
|
| Line 27: | Line 30: |
| .[[SDL_SelectVideoDisplay]] |
SDL_GetNumDisplayModes
Use this function to return the number of available display modes.
Contents
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
