mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fixed setting blend func extra time.
This commit is contained in:
parent
2ff2d10d60
commit
80763b60d8
@ -141,7 +141,6 @@ void SkeletonRenderer::draw (Renderer* renderer, const Mat4& transform, uint32_t
|
|||||||
|
|
||||||
void SkeletonRenderer::drawSkeleton (const Mat4 &transform, uint32_t transformFlags) {
|
void SkeletonRenderer::drawSkeleton (const Mat4 &transform, uint32_t transformFlags) {
|
||||||
getGLProgramState()->apply(transform);
|
getGLProgramState()->apply(transform);
|
||||||
GL::blendFunc(_blendFunc.src, _blendFunc.dst);
|
|
||||||
|
|
||||||
Color3B nodeColor = getColor();
|
Color3B nodeColor = getColor();
|
||||||
_skeleton->r = nodeColor.r / (float)255;
|
_skeleton->r = nodeColor.r / (float)255;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user