-rw-r--r-- | src/controller/callbacks/keyboard.c | 8 | ||||
-rw-r--r-- | src/controller/callbacks/reshape.c | 1 | ||||
-rw-r--r-- | src/model/state/state.h | 5 | ||||
-rw-r--r-- | src/view/geometry.c | 6 | ||||
-rw-r--r-- | src/view/init.c | 1 |
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; } |