diff --git a/src/platform/graphics/webgl/webgl-graphics-device.js b/src/platform/graphics/webgl/webgl-graphics-device.js index 53880e47464..a4caa680685 100644 --- a/src/platform/graphics/webgl/webgl-graphics-device.js +++ b/src/platform/graphics/webgl/webgl-graphics-device.js @@ -954,7 +954,6 @@ class WebglGraphicsDevice extends GraphicsDevice { const contextAttribs = gl.getContextAttributes(); this.supportsMsaa = contextAttribs?.antialias ?? false; - this.supportsStencil = contextAttribs?.stencil ?? false; // Query parameter values from the WebGL context this.maxTextureSize = gl.getParameter(gl.MAX_TEXTURE_SIZE);