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:
e65f41b
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 05:42:26 +0000
(13:42 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sun, 9 Oct 2011 05:42:26 +0000
(13:42 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
0590299
..
f55aa88
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-484,8
+484,7
@@
void mouse(int btn, int state, int x, int y) {
* Display function
\r
*/
\r
void display() {
\r
- // You probably want to change both of the following.
\r
- glClear(GL_COLOR_BUFFER_BIT);
\r
+ glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
\r
glFlush();
\r
}
\r
\r
UCC
git Repository :: git.ucc.asn.au