src/video/SDL_sysvideo.h
changeset 5149 be02be2ea897
parent 5148 5429daf5e3f9
child 5150 1435f8a6425c
     1.1 --- a/src/video/SDL_sysvideo.h	Tue Feb 01 20:50:04 2011 -0800
     1.2 +++ b/src/video/SDL_sysvideo.h	Tue Feb 01 21:23:43 2011 -0800
     1.3 @@ -67,12 +67,6 @@
     1.4      int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
     1.5      int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture,
     1.6                                 void **pixels, int *pitch);
     1.7 -    int (*SetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture,
     1.8 -                              const SDL_Color * colors, int firstcolor,
     1.9 -                              int ncolors);
    1.10 -    int (*GetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture,
    1.11 -                              SDL_Color * colors, int firstcolor,
    1.12 -                              int ncolors);
    1.13      int (*SetTextureColorMod) (SDL_Renderer * renderer,
    1.14                                 SDL_Texture * texture);
    1.15      int (*SetTextureAlphaMod) (SDL_Renderer * renderer,
    1.16 @@ -195,7 +189,6 @@
    1.17      SDL_DisplayMode desktop_mode;
    1.18      SDL_DisplayMode current_mode;
    1.19      SDL_bool updating_fullscreen;
    1.20 -    SDL_Palette *palette;
    1.21  
    1.22      Uint16 *gamma;
    1.23      Uint16 *saved_gamma;        /* (just offset into gamma) */
    1.24 @@ -259,12 +252,6 @@
    1.25       */
    1.26      int (*SetDisplayMode) (_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
    1.27  
    1.28 -    /* Set the color entries of the display palette */
    1.29 -    int (*SetDisplayPalette) (_THIS, SDL_VideoDisplay * display, SDL_Palette * palette);
    1.30 -
    1.31 -    /* Get the color entries of the display palette */
    1.32 -    int (*GetDisplayPalette) (_THIS, SDL_VideoDisplay * display, SDL_Palette * palette);
    1.33 -
    1.34      /* Set the gamma ramp */
    1.35      int (*SetDisplayGammaRamp) (_THIS, SDL_VideoDisplay * display, Uint16 * ramp);
    1.36  
    1.37 @@ -447,8 +434,6 @@
    1.38  extern int SDL_GetCurrentDisplayModeForDisplay(SDL_VideoDisplay * display, SDL_DisplayMode * mode);
    1.39  extern SDL_DisplayMode * SDL_GetClosestDisplayModeForDisplay(SDL_VideoDisplay * display, const SDL_DisplayMode * mode, SDL_DisplayMode * closest);
    1.40  extern int SDL_SetDisplayModeForDisplay(SDL_VideoDisplay * display, const SDL_DisplayMode * mode);
    1.41 -extern int SDL_SetPaletteForDisplay(SDL_VideoDisplay * display, const SDL_Color * colors, int firstcolor, int ncolors);
    1.42 -extern int SDL_GetPaletteForDisplay(SDL_VideoDisplay * display, SDL_Color * colors, int firstcolor, int ncolors);
    1.43  extern int SDL_SetGammaRampForDisplay(SDL_VideoDisplay * display, const Uint16 * red, const Uint16 * green, const Uint16 * blue);
    1.44  extern int SDL_GetGammaRampForDisplay(SDL_VideoDisplay * display, Uint16 * red, Uint16 * green, Uint16 * blue);
    1.45  extern void SDL_AddRenderDriver(SDL_VideoDisplay *display, const SDL_RenderDriver * driver);