diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index 80bb6a0..fea2126 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -691,10 +691,6 @@ Graphics.prototype._renderWebGL = function (renderer) { // if the sprite is not visible or the alpha is 0 then no need to render this element - if (this.isMask === true) - { - return; - } // this code may still be needed so leaving for now.. // @@ -816,7 +812,7 @@ { // return an empty object if the item is a mask! - if (this.renderable) + if (!this.renderable) { return math.Rectangle.EMPTY; }