progs/xdemos: fix swapped parameters to CreatePbuffer()
authorBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 15:10:48 +0000 (09:10 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Oct 2009 15:41:38 +0000 (09:41 -0600)
progs/xdemos/pbdemo.c

index 7db0017b33ec283a5643308b73f434145f09f7ed..425b3bbe9f43db0a3d7f72da8ceced9151584a65 100644 (file)
@@ -143,7 +143,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height )
 
       /* Create the pbuffer using first fbConfig in the list that works. */
       for (i=0;i<nConfigs;i++) {
-         pBuffer = CreatePbuffer(dpy, screen, fbConfigs[i], width, height, preserve, largest);
+         pBuffer = CreatePbuffer(dpy, screen, fbConfigs[i], width, height, largest, preserve);
          if (pBuffer) {
             gFBconfig = fbConfigs[i];
             gWidth = width;