Przeglądaj źródła

removed gamma correction formula...not needed

Jason Hancock 18 lat temu
rodzic
commit
f96161f01e

+ 0 - 2
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx

@@ -413,8 +413,6 @@ static_set_gamma(float gamma) {
 			y[j] = 255;
 		};
 
-    gamma = (2 * gamma) + 1.0;
-	
 	y[0] = 256 * gamma;
 	y[1] = 256 * gamma;
 	y[2] = 256 * gamma;