src/glrenderer.cpp

changeset 1376
83dd6cbd7f1a
parent 1372
641060842b92
child 1385
2f18c0da749d
child 1391
5fa4bf1fc781
--- a/src/glrenderer.cpp	Tue Apr 03 17:37:33 2018 +0300
+++ b/src/glrenderer.cpp	Tue Apr 03 18:55:57 2018 +0300
@@ -435,7 +435,10 @@
 		}
 
 		drawVbos (VboClass::Lines, VboSubclass::RegularColors);
-		glEnable (GL_LINE_STIPPLE);
+
+		if (config::useLineStipple())
+			glEnable (GL_LINE_STIPPLE);
+
 		drawVbos (VboClass::ConditionalLines, VboSubclass::RegularColors);
 		glDisable (GL_LINE_STIPPLE);
 

mercurial