Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.c @ 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 | 073b86030262 |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5247:78ce7bfd0faf | 5248:3a8a452b49f0 |
---|---|
184 /* Set the function pointers */ | 184 /* Set the function pointers */ |
185 device->VideoInit = X11_VideoInit; | 185 device->VideoInit = X11_VideoInit; |
186 device->VideoQuit = X11_VideoQuit; | 186 device->VideoQuit = X11_VideoQuit; |
187 device->GetDisplayModes = X11_GetDisplayModes; | 187 device->GetDisplayModes = X11_GetDisplayModes; |
188 device->SetDisplayMode = X11_SetDisplayMode; | 188 device->SetDisplayMode = X11_SetDisplayMode; |
189 device->SetDisplayGammaRamp = X11_SetDisplayGammaRamp; | |
190 device->GetDisplayGammaRamp = X11_GetDisplayGammaRamp; | |
191 device->SuspendScreenSaver = X11_SuspendScreenSaver; | 189 device->SuspendScreenSaver = X11_SuspendScreenSaver; |
192 device->PumpEvents = X11_PumpEvents; | 190 device->PumpEvents = X11_PumpEvents; |
193 | 191 |
194 device->CreateWindow = X11_CreateWindow; | 192 device->CreateWindow = X11_CreateWindow; |
195 device->CreateWindowFrom = X11_CreateWindowFrom; | 193 device->CreateWindowFrom = X11_CreateWindowFrom; |
382 X11_QuitKeyboard(_this); | 380 X11_QuitKeyboard(_this); |
383 X11_QuitMouse(_this); | 381 X11_QuitMouse(_this); |
384 X11_QuitTouch(_this); | 382 X11_QuitTouch(_this); |
385 } | 383 } |
386 | 384 |
387 SDL_bool | |
388 X11_UseDirectColorVisuals(void) | |
389 { | |
390 /* Once we implement DirectColor colormaps and gamma ramp support... | |
391 return SDL_getenv("SDL_VIDEO_X11_NODIRECTCOLOR") ? SDL_FALSE : SDL_TRUE; | |
392 */ | |
393 return SDL_FALSE; | |
394 } | |
395 | |
396 /* vim: set ts=4 sw=4 expandtab: */ | 385 /* vim: set ts=4 sw=4 expandtab: */ |