summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/controller/exp004mouse.c2
-rw-r--r--src/controller/selection_from_db.sqc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/controller/exp004mouse.c b/src/controller/exp004mouse.c
index 0f3e9d3..17ff19c 100644
--- a/src/controller/exp004mouse.c
+++ b/src/controller/exp004mouse.c
@@ -87,7 +87,7 @@ exp004mouse (int button, int state, int x, int y)
87 * "Specify the array to be used for the returned hit records87 * "Specify the array to be used for the returned hit records
88 * with glSelectBuffer () [Redbook]."88 * with glSelectBuffer () [Redbook]."
89 */89 */
90 GLuint* select_buf = calloc (S.rows, sizeof (GLuint));90 GLuint *select_buf = calloc (S.rows, sizeof (GLuint));
91 glSelectBuffer (S.rows, select_buf);91 glSelectBuffer (S.rows, select_buf);
9292
93 /*93 /*
diff --git a/src/controller/selection_from_db.sqc b/src/controller/selection_from_db.sqc
index f40b404..f847e16 100644
--- a/src/controller/selection_from_db.sqc
+++ b/src/controller/selection_from_db.sqc
@@ -45,7 +45,7 @@ selection_from_db (void)
45 */45 */
46 // S.selection.set[i] = true;46 // S.selection.set[i] = true;
4747
48 float* c = S.base_colors_data + (i * 4);48 float *c = S.base_colors_data + (i * 4);
49 *c = vis_sel_set.r;49 *c = vis_sel_set.r;
50 c++;50 c++;
51 *c = vis_sel_set.g;51 *c = vis_sel_set.g;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.