include/SDL_video.h
changeset 5243 3a8a452b49f0
parent 5166 4d39eeaad00b
child 5244 762e40fb8e28
     1.1 --- a/include/SDL_video.h	Thu Feb 10 10:37:35 2011 -0800
     1.2 +++ b/include/SDL_video.h	Thu Feb 10 11:39:08 2011 -0800
     1.3 @@ -361,55 +361,6 @@
     1.4  extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window);
     1.5  
     1.6  /**
     1.7 - *  \brief Set the gamma correction for each of the color channels on the 
     1.8 - *         currently selected display.
     1.9 - *  
    1.10 - *  \return 0 on success, or -1 if setting the gamma isn't supported.
    1.11 - *  
    1.12 - *  \sa SDL_SetGammaRamp()
    1.13 - */
    1.14 -extern DECLSPEC int SDLCALL SDL_SetGamma(float red, float green, float blue);
    1.15 -
    1.16 -/**
    1.17 - *  \brief Set the gamma ramp for the currently selected display.
    1.18 - *  
    1.19 - *  \param red The translation table for the red channel, or NULL.
    1.20 - *  \param green The translation table for the green channel, or NULL.
    1.21 - *  \param blue The translation table for the blue channel, or NULL.
    1.22 - *  
    1.23 - *  \return 0 on success, or -1 if gamma ramps are unsupported.
    1.24 - *  
    1.25 - *  Set the gamma translation table for the red, green, and blue channels
    1.26 - *  of the video hardware.  Each table is an array of 256 16-bit quantities,
    1.27 - *  representing a mapping between the input and output for that channel.
    1.28 - *  The input is the index into the array, and the output is the 16-bit
    1.29 - *  gamma value at that index, scaled to the output color precision.
    1.30 - *  
    1.31 - *  \sa SDL_GetGammaRamp()
    1.32 - */
    1.33 -extern DECLSPEC int SDLCALL SDL_SetGammaRamp(const Uint16 * red,
    1.34 -                                             const Uint16 * green,
    1.35 -                                             const Uint16 * blue);
    1.36 -
    1.37 -/**
    1.38 - *  \brief Get the gamma ramp for the currently selected display.
    1.39 - *  
    1.40 - *  \param red   A pointer to a 256 element array of 16-bit quantities to hold 
    1.41 - *               the translation table for the red channel, or NULL.
    1.42 - *  \param green A pointer to a 256 element array of 16-bit quantities to hold 
    1.43 - *               the translation table for the green channel, or NULL.
    1.44 - *  \param blue  A pointer to a 256 element array of 16-bit quantities to hold 
    1.45 - *               the translation table for the blue channel, or NULL.
    1.46 - *   
    1.47 - *  \return 0 on success, or -1 if gamma ramps are unsupported.
    1.48 - *  
    1.49 - *  \sa SDL_SetGammaRamp()
    1.50 - */
    1.51 -extern DECLSPEC int SDLCALL SDL_GetGammaRamp(Uint16 * red, Uint16 * green,
    1.52 -                                             Uint16 * blue);
    1.53 -
    1.54 -
    1.55 -/**
    1.56   *  \brief Create a window with the specified position, dimensions, and flags.
    1.57   *  
    1.58   *  \param title The title of the window, in UTF-8 encoding.