Skip to content

Commit

Permalink
set alpha to false when setting color mask
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodBoyDigital committed Apr 11, 2014
1 parent 6f6bb67 commit 04bfdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixi/renderers/webgl/utils/WebGLMaskManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PIXI.WebGLMaskManager.prototype.pushMask = function(maskData, renderSession)

this.maskStack.push(maskData);

gl.colorMask(false, false, false, true);
gl.colorMask(false, false, false, false);
gl.stencilOp(gl.KEEP,gl.KEEP,gl.INCR);

PIXI.WebGLGraphics.renderGraphics(maskData, renderSession);
Expand Down

0 comments on commit 04bfdb9

Please sign in to comment.