summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/controller/callbacks/keyboard.c8
-rw-r--r--src/controller/callbacks/reshape.c1
-rw-r--r--src/model/state/state.h5
-rw-r--r--src/view/geometry.c6
-rw-r--r--src/view/init.c1
5 files changed, 20 insertions, 1 deletions
diff --git a/src/view/geometry.c b/src/view/geometry.c
index fc09ee0..3fe92b0 100644
--- a/src/view/geometry.c
+++ b/src/view/geometry.c
@@ -30,7 +30,11 @@ geometry (GLenum mode)
if (S.legend)
glCallList (S.list_offset + DENSITY_LEGEND_GEOMETRY);
- glCallList (S.list_offset + DATAROSE_GEOMETRY);
+ /*
+ * Draw the data rose.
+ */
+ if (S.datarose)
+ glCallList (S.list_offset + DATAROSE_GEOMETRY);
return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.