summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-17 16:13:12 -0700
committerBrian Paul <[email protected]>2009-11-17 16:16:30 -0700
commit1888a7276538a3adfe268e235e56b9931d608243 (patch)
treed89510b58602f79075e14ab8b1090f8067d3d48c
parent0422053eca12b4fb912e0229c96a9d12453e31c4 (diff)
progs/demos: silence warnings
-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 6aca8270ff5..01a06aba0ff 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 b7bf135d219..d94154a2008 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();
}