summaryrefslogtreecommitdiff
path: root/progs/demos/textures.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/textures.c')
-rw-r--r--progs/demos/textures.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/progs/demos/textures.c b/progs/demos/textures.c
index b7bf135d21..1415ef1c43 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();
}
@@ -356,9 +356,8 @@ Usage(void)
int
main(int argc, char *argv[])
{
- glutInit(&argc, argv);
- glutInitWindowPosition(0, 0);
glutInitWindowSize(700, 700);
+ glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
Win = glutCreateWindow(argv[0]);
glutReshapeFunc(Reshape);