no need to update color (#20363)

This commit is contained in:
coulsonwang 2019-11-23 10:04:23 +08:00 committed by minggo
parent 9b8a72a843
commit c048d6b6bd
1 changed files with 0 additions and 1 deletions

View File

@ -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)