]> git.mxchange.org Git - flightgear.git/commitdiff
Remove unused gamma corrections
authorehofman <ehofman>
Wed, 3 Sep 2003 18:47:48 +0000 (18:47 +0000)
committerehofman <ehofman>
Wed, 3 Sep 2003 18:47:48 +0000 (18:47 +0000)
src/Time/light.cxx

index 43b97a01e927f266c24e4eb51a32b730e86e01c4..447fe63847c705beb42389e0efb1177925f47657 100644 (file)
@@ -244,7 +244,6 @@ void fgLIGHT::UpdateAdjFog( void ) {
     float *sun_color = thesky->get_sun_color();
 
     gamma_restore_rgb( fog_color );
-    gamma_restore_rgb( cloud_color );
 
     // Calculate the fog color in the direction of the sun for
     // sunrise/sunset effects.
@@ -277,7 +276,6 @@ void fgLIGHT::UpdateAdjFog( void ) {
     // used by the rest of the program.
     //
     gamma_correct_rgb( fog_color );
-    gamma_correct_rgb( cloud_color );
 }