comparison src/video/x11/SDL_x11gamma.c @ 232:678e3ed01019

Don't generate a spurious error on SDL_InitVideo()
author Sam Lantinga <slouken@libsdl.org>
date Tue, 06 Nov 2001 00:15:04 +0000
parents a1c973c35fef
children e8157fcb3114
comparison
equal deleted inserted replaced
231:bab3188293cb 232:678e3ed01019
107 return 0; 107 return 0;
108 } 108 }
109 return -1; 109 return -1;
110 } 110 }
111 #endif 111 #endif
112 SDL_SetError("Gamma correction not supported");
113 return -1; 112 return -1;
114 } 113 }
115 int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue) 114 int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue)
116 { 115 {
117 int result; 116 int result;