git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(no commit message)
[atyndall/cits2231.git]
/
scene.c
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