|
Size: 627
Comment: add categories
|
Size: 861
Comment: content added
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| Use this function to fill in information about the desktop display mode for the current display. | Use this function to get information about the desktop display mode for the current display. |
| Line 15: | Line 15: |
| ||'''mode'''||points to the current display mode|| | ||'''mode'''||a pointer to an [[SDL_DisplayMode]] structure that is filled in with the current display mode|| |
| Line 18: | Line 18: |
| Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information. | |
| Line 29: | Line 29: |
| .[[ ]] | .[[SDL_GetCurrentDisplayMode]] .[[SDL_GetDisplayMode]] .[[SDL_SetDisplayMode]] |
SDL_GetDesktopDisplayMode
Use this function to get information about the desktop display mode for the current display.
Contents
Syntax
int SDL_GetDesktopDisplayMode(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
