Mercurial > sdl-ios-xcode
diff src/SDL_compat.c @ 5248:3a8a452b49f0
Removed gamma support since it wasn't widely used and not well supported.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 10 Feb 2011 11:39:08 -0800 |
parents | 34e2d5115786 |
children | 762e40fb8e28 |
line wrap: on
line diff
--- a/src/SDL_compat.c Thu Feb 10 10:37:35 2011 -0800 +++ b/src/SDL_compat.c Thu Feb 10 11:39:08 2011 -0800 @@ -1526,6 +1526,26 @@ SDL_GL_SwapWindow(SDL_VideoWindow); } +int +SDL_SetGamma(float red, float green, float blue) +{ + SDL_Unsupported(); + return -1; +} + +int +SDL_SetGammaRamp(const Uint16 * red, const Uint16 * green, const Uint16 * blue) +{ + SDL_Unsupported(); + return -1; +} + +int +SDL_GetGammaRamp(Uint16 * red, Uint16 * green, Uint16 * blue) +{ + SDL_Unsupported(); + return -1; +} int SDL_EnableKeyRepeat(int delay, int interval)