comparison include/SDL_compat.h @ 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 1fbe1c202501
children b530ef003506
comparison
equal deleted inserted replaced
5247:78ce7bfd0faf 5248:3a8a452b49f0
326 extern DECLSPEC void SDLCALL SDL_UnlockYUVOverlay(SDL_Overlay * overlay); 326 extern DECLSPEC void SDLCALL SDL_UnlockYUVOverlay(SDL_Overlay * overlay);
327 extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay * overlay, 327 extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay * overlay,
328 SDL_Rect * dstrect); 328 SDL_Rect * dstrect);
329 extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay * overlay); 329 extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay * overlay);
330 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); 330 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void);
331 extern DECLSPEC int SDLCALL SDL_SetGamma(float red, float green, float blue);
332 extern DECLSPEC int SDLCALL SDL_SetGammaRamp(const Uint16 * red,
333 const Uint16 * green,
334 const Uint16 * blue);
335 extern DECLSPEC int SDLCALL SDL_GetGammaRamp(Uint16 * red, Uint16 * green,
336 Uint16 * blue);
331 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval); 337 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
332 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); 338 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
333 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); 339 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
334 340
335 typedef SDL_Window* SDL_WindowID; 341 typedef SDL_Window* SDL_WindowID;