author | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-08-14 19:43:19 (GMT) |
---|---|---|
committer | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-08-14 19:43:19 (GMT) |
commit | f0d3a4564f7dbde5748ede77fcb83f29e01a24b8 (patch) (unidiff) | |
tree | 0027dcc40a3797b61f58ee3e682558abdb0d9fd4 | |
parent | eef385b8057032a3f5b2d61fcc48878e849793e1 (diff) | |
download | exp005-f0d3a4564f7dbde5748ede77fcb83f29e01a24b8.zip exp005-f0d3a4564f7dbde5748ede77fcb83f29e01a24b8.tar.gz exp005-f0d3a4564f7dbde5748ede77fcb83f29e01a24b8.tar.bz2 |
Trivial changes for readability.
-rw-r--r-- | src/controller/exp004mouse.c | 2 | ||||
-rw-r--r-- | src/controller/selection_from_db.sqc | 2 |
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 records | 87 | * "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); |
92 | 92 | ||
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; |
47 | 47 | ||
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; |