Skip to content

Commit b4f0c9f

Browse files
committed
Uses setGameObject to support Light2D
1 parent 0c411e9 commit b4f0c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/blitter/BlitterWebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ var BlitterWebGLRenderer = function (renderer, src, interpolationPercentage, cam
9999
// Bind texture only if the Texture Source is different from before
100100
if (frame.sourceIndex !== prevTextureSourceIndex)
101101
{
102-
var textureUnit = renderer.setTextureSource(frame.source);
102+
var textureUnit = pipeline.setGameObject(src, frame);
103103

104104
prevTextureSourceIndex = frame.sourceIndex;
105105
}

0 commit comments

Comments
 (0)