-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/model/display_list_index.h | 6 | ||||
-rw-r--r-- | src/model/exp004state.h | 6 | ||||
-rw-r--r-- | src/model/protein_geometry.c | 21 | ||||
-rw-r--r-- | src/model/protein_geometry.h | 9 | ||||
-rw-r--r-- | src/view/exp004geometry.c | 21 | ||||
-rw-r--r-- | src/view/exp004init.c | 3 | ||||
-rw-r--r-- | src/view/exp004view.c | 2 |
8 files changed, 61 insertions, 10 deletions
diff --git a/src/view/exp004init.c b/src/view/exp004init.c index 97bd779..e7da51d 100644 --- a/src/view/exp004init.c +++ b/src/view/exp004init.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include "exp004state0.h" | 2 | #include "exp004state0.h" |
3 | #include "../model/selection_info_init.h" | 3 | #include "../model/selection_info_init.h" |
4 | #include "../model/zoom_info_init.h" | 4 | #include "../model/zoom_info_init.h" |
5 | #include <GL/glut.h> | ||
5 | 6 | ||
6 | #define S exp004state0 | 7 | #define S exp004state0 |
7 | 8 | ||
@@ -11,5 +12,7 @@ exp004init (void) | |||
11 | selection_info_init (&S.selection); | 12 | selection_info_init (&S.selection); |
12 | zoom_info_init (&S.zoom); | 13 | zoom_info_init (&S.zoom); |
13 | 14 | ||
15 | S.list_offset = glGenLists (1); | ||
16 | |||
14 | return; | 17 | return; |
15 | } | 18 | } |