mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
- use a dedicated flag for defined hightile tints so that the shader can use them.
This commit is contained in:
parent
a5fc374b59
commit
91b9ce54e4
2 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ enum
|
||||||
HICTINT_BLENDMASK = 64|128,
|
HICTINT_BLENDMASK = 64|128,
|
||||||
HICTINT_ALWAYSUSEART = 256,
|
HICTINT_ALWAYSUSEART = 256,
|
||||||
HICTINT_PRECOMPUTED = HICTINT_COLORIZE | HICTINT_BLENDMASK,
|
HICTINT_PRECOMPUTED = HICTINT_COLORIZE | HICTINT_BLENDMASK,
|
||||||
|
HICTINT_ENABLE = 32768
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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.r = (uint8_t)sr;
|
||||||
tint.shade.g = (uint8_t)sg;
|
tint.shade.g = (uint8_t)sg;
|
||||||
tint.shade.b = (uint8_t)sb;
|
tint.shade.b = (uint8_t)sb;
|
||||||
tint.f = effect;
|
tint.f = effect|HICTINT_ENABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue