Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/include/SDL_video.h Wed Feb 02 14:34:24 2011 -0800 +++ b/include/SDL_video.h Wed Feb 02 14:34:54 2011 -0800 @@ -356,6 +356,11 @@ SDL_DisplayMode * mode); /** + * \brief Get the pixel format associated with the window. + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window); + +/** * \brief Set the gamma correction for each of the color channels on the * currently selected display. *