From: ehofman Date: Wed, 3 Sep 2003 18:47:48 +0000 (+0000) Subject: Remove unused gamma corrections X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e98bccbaf52c91e7aeeeee8bbb5a2e34d6a0936;p=flightgear.git Remove unused gamma corrections --- diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 43b97a01e..447fe6384 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -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 ); }