- use a dedicated flag for defined hightile tints so that the shader can use them.

This commit is contained in:
Christoph Oelckers 2020-02-09 15:51:44 +01:00
parent a5fc374b59
commit 91b9ce54e4
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ enum
HICTINT_BLENDMASK = 64|128,
HICTINT_ALWAYSUSEART = 256,
HICTINT_PRECOMPUTED = HICTINT_COLORIZE | HICTINT_BLENDMASK,
HICTINT_ENABLE = 32768
};
#endif

View file

@ -47,7 +47,7 @@ void hicsetpalettetint(int32_t palnum, int r, int g, int b, int sr, int sg, int
tint.shade.r = (uint8_t)sr;
tint.shade.g = (uint8_t)sg;
tint.shade.b = (uint8_t)sb;
tint.f = effect;
tint.f = effect|HICTINT_ENABLE;
}