summaryrefslogtreecommitdiff
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-12 17:49:43 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-12 17:51:08 +0800
commit31d2786239d7d4c5d73d2a39c01d55975b6c901c (patch)
treef5ec2b2edba0f7529f0f25529142dbb6795fc4ce /src/egl/drivers
parent1c1015bd53843a840a1fda6d2eb58d45da3e9fd0 (diff)
egl_xdri: Fix build breakage.
driScreen->swapBuffers takes 3 more arguments since daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b.
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/xdri/egl_xdri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/xdri/egl_xdri.c b/src/egl/drivers/xdri/egl_xdri.c
index d2affc66dd..0f0a9af15b 100644
--- a/src/egl/drivers/xdri/egl_xdri.c
+++ b/src/egl/drivers/xdri/egl_xdri.c
@@ -562,7 +562,7 @@ xdri_eglSwapBuffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *draw)
struct xdri_egl_display *xdri_dpy = lookup_display(dpy);
struct xdri_egl_surface *xdri_surf = lookup_surface(draw);
- xdri_dpy->psc->driScreen->swapBuffers(xdri_surf->driDrawable);
+ xdri_dpy->psc->driScreen->swapBuffers(xdri_surf->driDrawable, 0, 0, 0);
return EGL_TRUE;
}