-rw-r--r-- | src/controller/clear_selection.sqc | 9 | ||||
-rw-r--r-- | src/controller/exp004processhits.c | 6 | ||||
-rw-r--r-- | src/controller/keyboard.c | 10 | ||||
-rw-r--r-- | src/controller/selection_from_db.sqc | 6 | ||||
-rw-r--r-- | src/model/density_legend_geometry.c | 20 | ||||
-rw-r--r-- | src/model/exp004state.h | 7 | ||||
-rw-r--r-- | src/model/protein_geometry.c | 2 | ||||
-rw-r--r-- | src/view/exp004geometry.c | 26 | ||||
-rw-r--r-- | src/view/exp004init.c | 3 |
9 files changed, 59 insertions, 30 deletions
diff --git a/src/controller/clear_selection.sqc b/src/controller/clear_selection.sqc index 01a5364..ec98b4c 100644 --- a/src/controller/clear_selection.sqc +++ b/src/controller/clear_selection.sqc | |||
@@ -1,8 +1,6 @@ | |||
1 | /* I seem to need this for glGenBuffers as per | ||
2 | http://www.gamedev.net/community/forums/topic.asp?topic_id=422358 */ | ||
3 | #define GL_GLEXT_PROTOTYPES | 1 | #define GL_GLEXT_PROTOTYPES |
4 | |||
5 | #include "clear_selection.h" | 2 | #include "clear_selection.h" |
3 | #include "../model/map_geometry.h" | ||
6 | #include "../view/exp004state0.h" | 4 | #include "../view/exp004state0.h" |
7 | #include <GL/glut.h> | 5 | #include <GL/glut.h> |
8 | #include "sqlca.h" | 6 | #include "sqlca.h" |
@@ -40,6 +38,11 @@ clear_selection (void) | |||
40 | sizeof (S.base_colors_data), S.base_colors_data, | 38 | sizeof (S.base_colors_data), S.base_colors_data, |
41 | GL_STATIC_DRAW); | 39 | GL_STATIC_DRAW); |
42 | 40 | ||
41 | /* | ||
42 | * Rebuild the display list for the map. | ||
43 | */ | ||
44 | map_geometry (); | ||
45 | |||
43 | glutPostRedisplay (); | 46 | glutPostRedisplay (); |
44 | 47 | ||
45 | return; | 48 | return; |