progs/demos: silence warnings
authorBrian Paul <brianp@vmware.com>
Tue, 17 Nov 2009 23:13:12 +0000 (16:13 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 17 Nov 2009 23:16:30 +0000 (16:16 -0700)
progs/demos/morph3d.c
progs/demos/textures.c

index 6aca8270ff515a250505fc44759dbc2b0a674797..01a06aba0ff77dae88da7827017cc2bd91b9e0aa 100644 (file)
@@ -887,5 +887,6 @@ int main(int argc, char **argv)
   glutIdleFunc( idle_ );
   glutDisplayFunc( draw );
   glutMainLoop();
-  
+
+  return 0;
 }
index b7bf135d21905b21e65a1658cb8f36695d40981a..d94154a2008f6497146e296319c98509c8ab9865 100644 (file)
@@ -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();
 }