Don't generate a spurious error on SDL_InitVideo()
authorSam Lantinga <slouken@libsdl.org>
Tue, 06 Nov 2001 00:15:04 +0000
changeset 232 678e3ed01019
parent 231 bab3188293cb
child 233 5b42a7f5fab3
Don't generate a spurious error on SDL_InitVideo()
src/video/x11/SDL_x11gamma.c
--- a/src/video/x11/SDL_x11gamma.c	Sun Nov 04 19:27:03 2001 +0000
+++ b/src/video/x11/SDL_x11gamma.c	Tue Nov 06 00:15:04 2001 +0000
@@ -109,7 +109,6 @@
         return -1;
     }
 #endif
-    SDL_SetError("Gamma correction not supported");
     return -1;
 }
 int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue)