Skip to content

Commit 4700977

Browse files
committed
Hard-code the topology
1 parent 84f6849 commit 4700977

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/webgl/pipelines/BitmapMaskPipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ var BitmapMaskPipeline = new Class({
185185
this.set1i('uInvertMaskAlpha', mask.invertAlpha);
186186

187187
// Finally, draw a triangle filling the whole screen
188-
gl.drawArrays(this.topology, 0, 3);
188+
gl.drawArrays(gl.TRIANGLE, 0, 3);
189189

190190
renderer.resetTextures();
191191
}

0 commit comments

Comments
 (0)