summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/controller/clear_selection.sqc9
-rw-r--r--src/controller/exp004processhits.c6
-rw-r--r--src/controller/keyboard.c10
-rw-r--r--src/controller/selection_from_db.sqc6
-rw-r--r--src/model/density_legend_geometry.c20
-rw-r--r--src/model/exp004state.h7
-rw-r--r--src/model/protein_geometry.c2
-rw-r--r--src/view/exp004geometry.c26
-rw-r--r--src/view/exp004init.c3
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_PROTOTYPES1#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);
4240
41 /*
42 * Rebuild the display list for the map.
43 */
44 map_geometry ();
45
43 glutPostRedisplay ();46 glutPostRedisplay ();
4447
45 return;48 return;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.