Browse Source

Fix stenciling…

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
e445c50af8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/modules/graphics/opengl/Graphics.cpp

+ 2 - 0
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();