xdemo case: Wei Wang's patch for bug#9759
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 14 Aug 2007 03:39:23 +0000 (11:39 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 14 Aug 2007 03:39:23 +0000 (11:39 +0800)
progs/xdemos/glxswapcontrol.c

index d9be984be57be77e8dba3f532b31a5a4810ff574..e429d58ecc46fb5e827c49085c09ad21cb3d70a5 100644 (file)
@@ -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);