Make gamma correction check less cautious. Works for me, but perhaps it should disable gamma settings anyway?
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4880 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
71d1c96c6d
commit
4d72c0d45c
@ -122,8 +122,10 @@ MA 02110-1301, USA.
|
|||||||
if (SDL_SetGamma(_gamma, _gamma, _gamma) < 0 )
|
if (SDL_SetGamma(_gamma, _gamma, _gamma) < 0 )
|
||||||
{
|
{
|
||||||
char * errStr = SDL_GetError();
|
char * errStr = SDL_GetError();
|
||||||
OOLogERR(@"gamma.set.error", @"Could not set gamma: %s", errStr);
|
OOLogWARN(@"gamma.set.error", @"Could not set gamma: %s", errStr);
|
||||||
exit(1);
|
// CIM: this doesn't seem to necessarily be fatal. Gamma settings
|
||||||
|
// mostly work on mine despite this function failing.
|
||||||
|
// exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user