include/SDL_video.h
changeset 3400 4ec48602f1db
parent 3227 458e53d8662c
child 3407 d3baf5ac4e37
equal deleted inserted replaced
3399:f96615051c8c 3400:4ec48602f1db
   412  *
   412  *
   413  * \brief Fill in information about the current display mode.
   413  * \brief Fill in information about the current display mode.
   414  */
   414  */
   415 extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(SDL_DisplayMode * mode);
   415 extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(SDL_DisplayMode * mode);
   416 
   416 
   417 /**
   417 
   418  * \fn SDL_DisplayMode *SDL_GetClosestDisplayMode(const SDL_DisplayMode *mode, SDL_DisplayMode *closest)
   418 /**
       
   419  * \fn SDL_DisplayMode SDL_GetClosestDisplayMode(const SDL_DisplayMode mode, SDL_DisplayMode closest)
   419  *
   420  *
   420  * \brief Get the closest match to the requested display mode.
   421  * \brief Get the closest match to the requested display mode.
   421  *
   422  *
   422  * \param mode The desired display mode
   423  * \param mode The desired display mode
   423  * \param closest A pointer to a display mode to be filled in with the closest match of the available display modes.
   424  * \param closest A pointer to a display mode to be filled in with the closest match of the available display modes.