ContainerCanvasRenderer would pass in a 5th container parameter to the child renderCanvas call, which was breaking the GraphicsCanvasRenderer and isn't needed by any Game Object, so has been removed. Fix #6093

This commit is contained in:
Richard Davey 2022-05-06 15:36:48 +01:00
parent 3d0ff83c51
commit f8267e4ff8

View file

@ -86,7 +86,7 @@ var ContainerCanvasRenderer = function (renderer, container, camera, parentMatri
child.setAlpha(childAlpha * alpha);
// Render
child.renderCanvas(renderer, child, camera, transformMatrix, container);
child.renderCanvas(renderer, child, camera, transformMatrix);
// Restore original values
child.setAlpha(childAlpha);