ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.73k stars 1.99k forks source link

Fixed alignment error when LTCG is enabled #419

Open TravisWehrman opened 7 years ago

TravisWehrman commented 7 years ago

Fixed an alignment error/warning in mathlib when building the SDK with Link-time Code Generation enabled (/LTCG)

Needed to be consistent with the power2_n definition in color_conversion.cpp

SC1040-TS2 commented 3 years ago

Fixed an alignment error/warning in mathlib when building the SDK with Link-time Code Generation enabled (/LTCG)

Needed to be consistent with the power2_n definition in color_conversion.cpp

For documentation purposes, this also needs to be duplicated for the SP mathlib.h code.