Skip to content

Commit 8fa6cb0

Browse files
committed
Revert "Merge pull request #708 from noocsharp/master"
This reverts commit 3dbfafa, reversing changes made to 232f857.
1 parent 585b93c commit 8fa6cb0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
637637
gl.vertexAttribPointer(shader.colorAttribute, 4, gl.UNSIGNED_BYTE, true, stride, 16);
638638

639639
// Texture index
640-
if (PIXI._enableMultiTextureToggle)
641-
{
642-
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
643-
}
640+
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
644641
}
645642

646643
// upload the verts to the buffer

0 commit comments

Comments
 (0)