Don't generate a spurious error on SDL_InitVideo()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40233
This commit is contained in:
Sam Lantinga 2001-11-06 00:15:04 +00:00
parent ee89db99de
commit 383e24e32d

View file

@ -109,7 +109,6 @@ static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue)
return -1;
}
#endif
SDL_SetError("Gamma correction not supported");
return -1;
}
int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue)