mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Fixes #1200, spColor_setFromFloats clamps the values now.
This commit is contained in:
parent
d937d432d8
commit
f7a6b81f0f
@ -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