-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 @@ #include "exp004state0.h" #include "../model/selection_info_init.h" #include "../model/zoom_info_init.h" +#include <GL/glut.h> #define S exp004state0 @@ -11,5 +12,7 @@ exp004init (void) selection_info_init (&S.selection); zoom_info_init (&S.zoom); + S.list_offset = glGenLists (1); + return; } |