Mercurial > sdl-ios-xcode
comparison include/SDL_video.h @ 1707:57ce47f033a5 SDL-1.3
Passing NULL to SDL_SetDisplayMode() will set the desktop mode.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 24 Jun 2006 17:01:29 +0000 |
parents | 1577404809f0 |
children | 5b9f50c957ed |
comparison
equal
deleted
inserted
replaced
1706:1577404809f0 | 1707:57ce47f033a5 |
---|---|
456 /** | 456 /** |
457 * \fn int SDL_SetDisplayMode(const SDL_DisplayMode *mode) | 457 * \fn int SDL_SetDisplayMode(const SDL_DisplayMode *mode) |
458 * | 458 * |
459 * \brief Set up the closest available mode on the current display. | 459 * \brief Set up the closest available mode on the current display. |
460 * | 460 * |
461 * \param mode The desired display mode | 461 * \param mode The desired display mode, or NULL to set the desktop mode. |
462 * | 462 * |
463 * \return 0 on success, or -1 if setting the display mode failed. | 463 * \return 0 on success, or -1 if setting the display mode failed. |
464 */ | 464 */ |
465 extern DECLSPEC int SDLCALL SDL_SetDisplayMode(const SDL_DisplayMode * mode); | 465 extern DECLSPEC int SDLCALL SDL_SetDisplayMode(const SDL_DisplayMode * mode); |
466 | 466 |