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:
91ab47d
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 07:33:55 +0000
(15:33 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 07:33:55 +0000
(15:33 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
cfb80c0
..
1c6fbd5
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-551,10
+551,7
@@
void display() {
glPushMatrix();
\r
glLightfv(GL_LIGHT0, GL_POSITION, lightPosition);
\r
\r
- glEnable(GL_BLEND);
\r
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
\r
drawFloor();
\r
- glDisable(GL_BLEND);
\r
\r
glPushMatrix();
\r
glDisable(GL_LIGHTING);
\r
UCC
git Repository :: git.ucc.asn.au