From: Brian Paul Date: Tue, 17 Nov 2009 23:13:12 +0000 (-0700) Subject: progs/demos: silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1888a7276538a3adfe268e235e56b9931d608243;p=mesa.git progs/demos: silence warnings --- 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(); }