egl_xdri: Fix build breakage.
authorChia-I Wu <olvaffe@gmail.com>
Tue, 12 Jan 2010 09:49:43 +0000 (17:49 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 12 Jan 2010 09:51:08 +0000 (17:51 +0800)
driScreen->swapBuffers takes 3 more arguments since
daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b.

src/egl/drivers/xdri/egl_xdri.c

index d2affc66dd492e1aaf65f9464534128050b51fe4..0f0a9af15be1be980fb70ce98eacd50244f74f62 100644 (file)
@@ -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;
 }