Browse Source

Potentially fix a random error in setMode

--HG--
branch : minor
Alex Szpakowski 9 năm trước cách đây
mục cha
commit
f118befeba

+ 1 - 1
src/modules/graphics/opengl/Graphics.h

@@ -530,7 +530,7 @@ private:
 	struct CurrentPass
 	struct CurrentPass
 	{
 	{
 		PassInfo info;
 		PassInfo info;
-		bool active;
+		bool active = false;
 	};
 	};
 
 
 	struct PassBufferInfo
 	struct PassBufferInfo