Don't generate a spurious error on SDL_InitVideo()

This commit is contained in:
Sam Lantinga
2001-11-06 00:15:04 +00:00
parent 19aeb0d761
commit ceeb50bee0

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)