From e445c50af82bc8b0a7c6187022a4dde42f2725bb Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Thu, 5 Jan 2017 20:22:50 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20stenciling=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : minor --- src/modules/graphics/opengl/Graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index d22eee97b..45e61a8ac 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -210,6 +210,8 @@ bool Graphics::setMode(int width, int height, int pixelwidth, int pixelheight, b this->width = width; this->height = height; + this->windowHasStencil = windowhasstencil; + // Okay, setup OpenGL. gl.initContext(); gl.setupContext();