Commit 383e24e3 authored by Sam Lantinga's avatar Sam Lantinga

Don't generate a spurious error on SDL_InitVideo()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40233
parent ee89db99
...@@ -109,7 +109,6 @@ static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) ...@@ -109,7 +109,6 @@ static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue)
return -1; return -1;
} }
#endif #endif
SDL_SetError("Gamma correction not supported");
return -1; return -1;
} }
int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue) int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment