summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--r/connect.R2
-rw-r--r--src/Makefile.am3
-rw-r--r--src/controller/exp004reshape.c11
-rw-r--r--src/model/density_legend_geometry.c81
-rw-r--r--src/model/density_legend_geometry.h9
-rw-r--r--src/model/display_list_index.h6
-rw-r--r--src/model/exp004state.h14
-rw-r--r--src/util/check_error.c6
-rw-r--r--src/view/exp004geometry.c7
-rw-r--r--src/view/exp004init.c8
-rw-r--r--src/view/exp004view.c4
11 files changed, 124 insertions, 27 deletions
diff --git a/src/view/exp004init.c b/src/view/exp004init.c
index e7da51d..ab12d2a 100644
--- a/src/view/exp004init.c
+++ b/src/view/exp004init.c
@@ -1,5 +1,7 @@
#include "exp004init.h"
#include "exp004state0.h"
+#include "../model/density_legend_geometry.h"
+#include "../model/protein_geometry.h"
#include "../model/selection_info_init.h"
#include "../model/zoom_info_init.h"
#include <GL/glut.h>
@@ -12,7 +14,9 @@ exp004init (void)
selection_info_init (&S.selection);
zoom_info_init (&S.zoom);
- S.list_offset = glGenLists (1);
-
+ S.list_offset = glGenLists (NUM_LISTS);
+ protein_geometry ();
+ density_legend_geometry ();
+
return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.