git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a54caed
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 12:29:24 +0000
(20:29 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 12:29:24 +0000
(20:29 +0800)
helper.c
patch
|
blob
|
history
diff --git
a/helper.c
b/helper.c
index
a5eb30c
..
a0f263d
100644
(file)
--- a/
helper.c
+++ b/
helper.c
@@
-260,7
+260,7
@@
void drawLine() {
glDisable(GL_LIGHTING);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- glColor
4ub( 0.0,
0.0, 0.0, 0.0 );
+ glColor
3f(
0.0, 0.0, 0.0 );
glBegin(GL_LINES);
glVertex3i( lineLength, 1.0, 0.0 );
UCC
git Repository :: git.ucc.asn.au