Parcourir la source

Fix stenciling…

--HG--
branch : minor
Alex Szpakowski il y a 8 ans
Parent
commit
e445c50af8
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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->width = width;
 	this->height = height;
 	this->height = height;
 
 
+	this->windowHasStencil = windowhasstencil;
+
 	// Okay, setup OpenGL.
 	// Okay, setup OpenGL.
 	gl.initContext();
 	gl.initContext();
 	gl.setupContext();
 	gl.setupContext();