changeset 18906:c0fb31c46e87

Change OpenGL dashed line style to 50% mark / 50% space. *gl-render.cc (set_linestyle): Set stipple pattern to 0xF0F0 for 50% mark / 50% space rather than previous 75% mark / 25% space.
author Rik <rik@octave.org>
date Fri, 11 Jul 2014 13:36:12 -0700
parents 82773ee8119a
children d1c649bd90e9
files libinterp/corefcn/gl-render.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.cc	Thu Jul 10 09:52:49 2014 +0200
+++ b/libinterp/corefcn/gl-render.cc	Fri Jul 11 13:36:12 2014 -0700
@@ -2925,7 +2925,7 @@
   else if (s == ":")
     glLineStipple (1, static_cast<unsigned short> (0x8888));
   else if (s == "--")
-    glLineStipple (1, static_cast<unsigned short> (0x0FFF));
+    glLineStipple (1, static_cast<unsigned short> (0xF0F0));
   else if (s == "-.")
     glLineStipple (1, static_cast<unsigned short> (0x020F));
   else