mirror of https://github.com/axmolengine/axmol.git
no need to update color (#20363)
This commit is contained in:
parent
9b8a72a843
commit
c048d6b6bd
|
@ -445,7 +445,6 @@ void LayerColor::updateColor()
|
|||
_vertexData[i].colors.b = _displayedColor.b / 255.0f;
|
||||
_vertexData[i].colors.a = _displayedOpacity / 255.0f;
|
||||
}
|
||||
updateVertexBuffer();
|
||||
}
|
||||
|
||||
void LayerColor::draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
|
||||
|
|
Loading…
Reference in New Issue