|
Size: 653
Comment: add categories
|
Size: 778
Comment: content changed
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| Use this function to fill in information about the current display mode. | Use this function to get information about the current display mode. |
| Line 15: | Line 15: |
| ||'''mode'''||the desired display mode|| | ||'''mode'''||a pointer to an [[SDL_DisplayMode]] structure that is filled in with the current display mode|| |
| Line 18: | Line 18: |
| Information about the current display mode. | Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information. |
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
