Mercurial > sdl-ios-xcode
comparison include/SDL_video.h @ 5157:fb424691cfc7
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 02 Feb 2011 14:34:54 -0800 |
parents | be02be2ea897 |
children | 2b1989f59674 |
comparison
equal
deleted
inserted
replaced
5156:3e4086b3bcd2 | 5157:fb424691cfc7 |
---|---|
354 */ | 354 */ |
355 extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_Window * window, | 355 extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_Window * window, |
356 SDL_DisplayMode * mode); | 356 SDL_DisplayMode * mode); |
357 | 357 |
358 /** | 358 /** |
359 * \brief Get the pixel format associated with the window. | |
360 */ | |
361 extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window); | |
362 | |
363 /** | |
359 * \brief Set the gamma correction for each of the color channels on the | 364 * \brief Set the gamma correction for each of the color channels on the |
360 * currently selected display. | 365 * currently selected display. |
361 * | 366 * |
362 * \return 0 on success, or -1 if setting the gamma isn't supported. | 367 * \return 0 on success, or -1 if setting the gamma isn't supported. |
363 * | 368 * |