Serious-Engine/Sources/Engine/Light
Daniel Gibson 46353ffc5d make BYTESWAP*_unsigned() macros inline functions, use GCC builtins
the builtins are only used when using GCC or clang, of course, otherwise
the usual shifting is done.

Them being inline functions instead of macros increases type safety
and gets rid of problems with signed shifts.

Changed two places in the code that swapped bytes in 32bit ints to use
BYTESWAP32_unsigned() instead - in case of PrepareTexture() this has
probably even fixed issues with signed shifts
2016-05-09 18:48:39 +02:00
..
Gradient.h Add GPL header to files 2016-03-11 18:20:51 -06:00
LayerMaker.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
LayerMixer.cpp make BYTESWAP*_unsigned() macros inline functions, use GCC builtins 2016-05-09 18:48:39 +02:00
LensFlares.h Add GPL header to files 2016-03-11 18:20:51 -06:00
LightSource.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
LightSource.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Shadows_internal.h Add GPL header to files 2016-03-11 18:20:51 -06:00