darklegion/tremulous — pull request #6 by chrisballinger (2014-02-04 09:40:22+00:00)
Title: Quick fix for SDL_SetGamma crash on Mac OS 10.9

Apparently SDL 1.2 crashes on 10.9 during `SDL_SetGamma`. This is apparently fixed upstream in ioquake3 when using SDL 2.0, but I haven't been able to merge the new changes successfully yet. More details here: http://www.ioquake.org/forums/viewtopic.php?f=12&t=1928

```
0 com.apple.CoreGraphics 0x996d010b interpolate_table + 160
1 com.apple.CoreGraphics 0x996cffc6 CGSGetDisplayTransferByTable + 247
2 libSDL-1.2.0.dylib 0x01ab736f QZ_GetGammaRamp + 105
3 libSDL-1.2.0.dylib 0x01aa8f4f SDL_GetGammaRamp + 230
4 libSDL-1.2.0.dylib 0x01aa90ee SDL_SetGammaRamp + 326
5 libSDL-1.2.0.dylib 0x01aa9380 SDL_SetGamma + 401
```