We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f6849 commit 4700977Copy full SHA for 4700977
1 file changed
src/renderer/webgl/pipelines/BitmapMaskPipeline.js
@@ -185,7 +185,7 @@ var BitmapMaskPipeline = new Class({
185
this.set1i('uInvertMaskAlpha', mask.invertAlpha);
186
187
// Finally, draw a triangle filling the whole screen
188
- gl.drawArrays(this.topology, 0, 3);
+ gl.drawArrays(gl.TRIANGLE, 0, 3);
189
190
renderer.resetTextures();
191
}
0 commit comments