summaryrefslogtreecommitdiff
path: root/progs/demos
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-17 16:13:12 -0700
committerBrian Paul <brianp@vmware.com>2009-11-17 16:16:30 -0700
commit1888a7276538a3adfe268e235e56b9931d608243 (patch)
treed89510b58602f79075e14ab8b1090f8067d3d48c /progs/demos
parent0422053eca12b4fb912e0229c96a9d12453e31c4 (diff)
progs/demos: silence warnings
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/morph3d.c3
-rw-r--r--progs/demos/textures.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/progs/demos/morph3d.c b/progs/demos/morph3d.c
index 6aca8270ff..01a06aba0f 100644
--- a/progs/demos/morph3d.c
+++ b/progs/demos/morph3d.c
@@ -887,5 +887,6 @@ int main(int argc, char **argv)
glutIdleFunc( idle_ );
glutDisplayFunc( draw );
glutMainLoop();
-
+
+ return 0;
}
diff --git a/progs/demos/textures.c b/progs/demos/textures.c
index b7bf135d21..d94154a200 100644
--- a/progs/demos/textures.c
+++ b/progs/demos/textures.c
@@ -57,7 +57,7 @@ Idle(void)
{
Xrot = glutGet(GLUT_ELAPSED_TIME) * 0.02;
Yrot = glutGet(GLUT_ELAPSED_TIME) * 0.04;
- //Zrot += 2.0;
+ /*Zrot += 2.0;*/
glutPostRedisplay();
}