summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-07 09:10:48 -0600
committerBrian Paul <brianp@vmware.com>2009-10-07 09:41:38 -0600
commit846a6b069589d5f7b7a8a65f99a0f43cb8fed20b (patch)
treebf155cb04b8b112cc06faf162b45d6b5bf8a6512 /progs
parentedbaa717b49f679572805d535ed7c77518257781 (diff)
progs/xdemos: fix swapped parameters to CreatePbuffer()
Diffstat (limited to 'progs')
-rw-r--r--progs/xdemos/pbdemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/pbdemo.c b/progs/xdemos/pbdemo.c
index 7db0017b33..425b3bbe9f 100644
--- a/progs/xdemos/pbdemo.c
+++ b/progs/xdemos/pbdemo.c
@@ -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;