Преглед изворни кода

removed gamma correction formula...not needed

Jason Hancock пре 18 година
родитељ
комит
f96161f01e
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      panda/src/osxdisplay/osxGraphicsStateGuardian.cxx

+ 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;