mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Don't clamp SHADE2LIGHT
- Light levels aren't stored in bytes anymore, so there's no reason to clamp it anymore when loading Build maps.
This commit is contained in:
parent
fbb5689f29
commit
46592f5f6d
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@
|
||||||
|
|
||||||
// MACROS ------------------------------------------------------------------
|
// MACROS ------------------------------------------------------------------
|
||||||
|
|
||||||
//#define SHADE2LIGHT(s) (clamp (160-2*(s), 0, 255))
|
//#define SHADE2LIGHT(s) (160-2*(s))
|
||||||
#define SHADE2LIGHT(s) (clamp (255-2*s, 0, 255))
|
#define SHADE2LIGHT(s) (255-2*s)
|
||||||
|
|
||||||
// TYPES -------------------------------------------------------------------
|
// TYPES -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue