Skip to content

Commit 4228a5b

Browse files
committed
Fixed rendering issue with arc command
1 parent 98349a0 commit 4228a5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/gameobjects/graphics/GraphicsWebGLRenderer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ var GraphicsWebGLRenderer = function (renderer, src, interpolationPercentage, ca
104104
switch(cmd)
105105
{
106106
case Commands.ARC:
107+
iteration = 0;
107108
x = commandBuffer[cmdIndex + 1];
108109
y = commandBuffer[cmdIndex + 2];
109110
radius = commandBuffer[cmdIndex + 3];

0 commit comments

Comments
 (0)