-rw-r--r-- | src/controller/callbacks/reshape.c | 1 | ||||
-rw-r--r-- | src/view/geometry.c | 2 | ||||
-rw-r--r-- | src/view/init.c | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/controller/callbacks/reshape.c b/src/controller/callbacks/reshape.c index 0414be6..67210c5 100644 --- a/src/controller/callbacks/reshape.c +++ b/src/controller/callbacks/reshape.c @@ -80,6 +80,7 @@ reshape (int w, int h) glViewport (0, 0, (GLsizei) w, (GLsizei) h); density_legend_geometry (); + datarose_geometry (); return; } diff --git a/src/view/geometry.c b/src/view/geometry.c index f8bd8e6..fc09ee0 100644 --- a/src/view/geometry.c +++ b/src/view/geometry.c @@ -30,5 +30,7 @@ geometry (GLenum mode) if (S.legend) glCallList (S.list_offset + DENSITY_LEGEND_GEOMETRY); + glCallList (S.list_offset + DATAROSE_GEOMETRY); + return; } diff --git a/src/view/init.c b/src/view/init.c index 1c06c7e..47e8ffa 100644 --- a/src/view/init.c +++ b/src/view/init.c @@ -1,4 +1,5 @@ #include "../model/data/base.h" +#include "../model/geometry/datarose_geometry.h" #include "../model/geometry/density_legend_geometry.h" #include "../model/geometry/map_geometry.h" #include "../model/geometry/protein_geometry.h" @@ -40,6 +41,7 @@ init (void) protein_selected_geometry (); density_legend_geometry (); map_geometry (); + datarose_geometry (); return; } |