mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Fixes #1200, spColor_setFromFloats clamps the values now.
This commit is contained in:
parent
e63a75e9e9
commit
8131c27440
@ -44,6 +44,7 @@ void spColor_setFromFloats(spColor* self, float r, float g, float b, float a) {
|
||||
self->g = g;
|
||||
self->b = b;
|
||||
self->a = a;
|
||||
spColor_clamp(self);
|
||||
}
|
||||
|
||||
void spColor_setFromColor(spColor* self, spColor* otherColor) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user