mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
progs/xdemos: fix swapped parameters to CreatePbuffer()
This commit is contained in:
parent
edbaa717b4
commit
846a6b0695
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue