Mercurial > sdl-ios-xcode
diff src/video/SDL_gamma.c @ 3685:64ce267332c6
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 21 Jan 2010 06:21:52 +0000 |
parents | 4b594623401b |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/video/SDL_gamma.c Thu Jan 21 05:49:41 2010 +0000 +++ b/src/video/SDL_gamma.c Thu Jan 21 06:21:52 2010 +0000 @@ -171,7 +171,7 @@ SDL_UninitializedVideo(); return -1; } - return SDL_SetGammaRampForDisplay(&SDL_CurrentDisplay, red, green, blue); + return SDL_SetGammaRampForDisplay(SDL_CurrentDisplay, red, green, blue); } int @@ -230,7 +230,7 @@ SDL_UninitializedVideo(); return -1; } - return SDL_GetGammaRampForDisplay(&SDL_CurrentDisplay, red, green, blue); + return SDL_GetGammaRampForDisplay(SDL_CurrentDisplay, red, green, blue); } /* vi: set ts=4 sw=4 expandtab: */