|
Size: 778
Comment: content changed
|
Size: 837
Comment: added RFs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 30: | Line 30: |
| .[[SDL_GetDesktopDisplayMode]] .[[SDL_SetDisplayMode]] |
SDL_GetCurrentDisplayMode
Use this function to get information about the current display mode.
Contents
Syntax
int SDL_GetCurrentDisplayMode(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
