summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/controller/exp004processhits.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controller/exp004processhits.c b/src/controller/exp004processhits.c
index ba551f3..84f8b8d 100644
--- a/src/controller/exp004processhits.c
+++ b/src/controller/exp004processhits.c
@@ -3,7 +3,7 @@
#define GL_GLEXT_PROTOTYPES
#include "exp004processhits.h"
-#include "selection_to_db.h"
+#include "selsave.h"
#include "../view/exp004state0.h"
#include <stdio.h>
@@ -35,7 +35,7 @@ exp004processhits (GLint hits, GLuint buffer[])
/*
* Add the hits to the selection.
*/
- S.selection[*hitlist] = true;
+ S.selection.set[*hitlist] = true;
S.base_colors_data[*hitlist][0] = SELECT_COLOR_R;
S.base_colors_data[*hitlist][1] = SELECT_COLOR_G;
S.base_colors_data[*hitlist][2] = SELECT_COLOR_B;
@@ -44,7 +44,7 @@ exp004processhits (GLint hits, GLuint buffer[])
hitlist++;
}
- selection_to_db ();
+ selsave ();
glBindBuffer (GL_ARRAY_BUFFER, S.buffers[BASE_COLORS]);
glColorPointer (4, GL_FLOAT, 0, 0);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.