src/video/SDL_gamma.c
branchSDL-1.3
changeset 1695 7179cb72dbba
parent 1672 8e754b82cecc
child 1733 0b1070f2f94d
--- a/src/video/SDL_gamma.c	Tue Jun 20 06:41:15 2006 +0000
+++ b/src/video/SDL_gamma.c	Tue Jun 20 06:51:23 2006 +0000
@@ -51,7 +51,7 @@
         return;
     } else
         /* 1.0 gamma is identity */
-    if (gamma >= 1.0f) {
+    if (gamma == 1.0f) {
         for (i = 0; i < 256; ++i) {
             ramp[i] = (i << 8) | i;
         }