aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2007-08-14 11:39:23 +0800
committerXiang, Haihao <[email protected]>2007-08-14 11:39:23 +0800
commit5dab3bf4bc94ac45e4d25c75dc09fbd6f4a6025e (patch)
tree97ad20db07b323876f5b49584b4de91e2f0b4dcd
parent393a6255381f019586bd9acc49fbf2fd431e534e (diff)
xdemo case: Wei Wang's patch for bug#9759
-rw-r--r--progs/xdemos/glxswapcontrol.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/xdemos/glxswapcontrol.c b/progs/xdemos/glxswapcontrol.c
index d9be984be57..e429d58ecc4 100644
--- a/progs/xdemos/glxswapcontrol.c
+++ b/progs/xdemos/glxswapcontrol.c
@@ -814,6 +814,11 @@ main(int argc, char *argv[])
init();
+ /* Set initial projection/viewing transformation.
+ * same as glxgears.c
+ */
+ reshape(300, 300);
+
event_loop(dpy, win);
glXDestroyContext(dpy, ctx);