Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 3501:467e67d301f3
Removed a little redundancy in the naming
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Dec 2009 06:15:10 +0000 |
parents | 4b594623401b |
children | 98a819296cdc |
line wrap: on
line diff
--- a/src/video/SDL_video.c Tue Dec 01 05:57:15 2009 +0000 +++ b/src/video/SDL_video.c Tue Dec 01 06:15:10 2009 +0000 @@ -720,7 +720,7 @@ } int -SDL_SetDisplayPaletteForDisplay(SDL_VideoDisplay * display, const SDL_Color * colors, int firstcolor, int ncolors) +SDL_SetPaletteForDisplay(SDL_VideoDisplay * display, const SDL_Color * colors, int firstcolor, int ncolors) { SDL_Palette *palette; int status = 0; @@ -747,11 +747,11 @@ SDL_UninitializedVideo(); return -1; } - return SDL_SetDisplayPaletteForDisplay(&SDL_CurrentDisplay, colors, firstcolor, ncolors); + return SDL_SetPaletteForDisplay(&SDL_CurrentDisplay, colors, firstcolor, ncolors); } int -SDL_GetDisplayPaletteForDisplay(SDL_VideoDisplay * display, SDL_Color * colors, int firstcolor, int ncolors) +SDL_GetPaletteForDisplay(SDL_VideoDisplay * display, SDL_Color * colors, int firstcolor, int ncolors) { SDL_Palette *palette; @@ -778,7 +778,7 @@ SDL_UninitializedVideo(); return -1; } - return SDL_GetDisplayPaletteForDisplay(&SDL_CurrentDisplay, colors, firstcolor, ncolors); + return SDL_GetPaletteForDisplay(&SDL_CurrentDisplay, colors, firstcolor, ncolors); } SDL_WindowID