Fixed linker error when LTCG is enabled

* Needed to be consistent with the definition in color_conversion.cpp
This commit is contained in:
Travis Wehrman 2017-04-15 22:12:48 -05:00
parent 0d8dceea43
commit dbae319271

View File

@ -1003,7 +1003,7 @@ void BuildGammaTable( float gamma, float texGamma, float brightness, int overbri
// convert texture to linear 0..1 value
inline float TexLightToLinear( int c, int exponent )
{
extern float power2_n[256];
extern ALIGN128 float power2_n[256];
Assert( exponent >= -128 && exponent <= 127 );
return ( float )c * power2_n[exponent+128];
}