summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-16 10:28:27 -0600
committerBrian Paul <[email protected]>2009-04-16 22:07:53 -0600
commit189db329caba805f4ae9ab28c675f37565fd4c9c (patch)
treeda424a9930e6e3519dbb2a66fac4f8400ed43421
parenta902b6ba48c8ff8bebda95e32310781d9a0763ce (diff)
demos: set init window size, not pos
-rw-r--r--progs/glsl/linktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/linktest.c b/progs/glsl/linktest.c
index 601b24e893e..988d0823418 100644
--- a/progs/glsl/linktest.c
+++ b/progs/glsl/linktest.c
@@ -242,7 +242,7 @@ int
main(int argc, char *argv[])
{
glutInit(&argc, argv);
- glutInitWindowPosition( 0, 0);
+ glutInitWindowSize(300, 300);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
Win = glutCreateWindow(argv[0]);
glutReshapeFunc(Reshape);