progs/xdemos: fix swapped parameters to CreatePbuffer()

This commit is contained in:
Brian Paul 2009-10-07 09:10:48 -06:00
parent edbaa717b4
commit 846a6b0695
1 changed files with 1 additions and 1 deletions

View 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;