- conditional lines are now rendered with stippled lines again

Sat, 19 Apr 2014 14:00:40 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 19 Apr 2014 14:00:40 +0300
changeset 722
61e2d0ca0018
parent 721
4cf0f6c9082d
child 723
fecdf950f32d

- conditional lines are now rendered with stippled lines again

src/glRenderer.cc file | annotate | diff | comparison | revisions
--- a/src/glRenderer.cc	Sat Apr 19 02:31:24 2014 +0300
+++ b/src/glRenderer.cc	Sat Apr 19 14:00:40 2014 +0300
@@ -434,7 +434,9 @@
 		}
 
 		drawVBOs (VBOSF_Lines, VBOCM_NormalColors, GL_LINES);
+		glEnable (GL_LINE_STIPPLE);
 		drawVBOs (VBOSF_CondLines, VBOCM_NormalColors, GL_LINES);
+		glDisable (GL_LINE_STIPPLE);
 
 		if (gl_axes)
 		{

mercurial