From: Jakob Bornecrantz Date: Wed, 28 Jan 2009 22:06:04 +0000 (+0100) Subject: egl: Adopt to st_framebuffer changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=585c10b46daada282730dc65a6515cab4ca9ff7f;p=mesa.git egl: Adopt to st_framebuffer changes --- diff --git a/src/gallium/state_trackers/egl/egl_surface.c b/src/gallium/state_trackers/egl/egl_surface.c index 71292bf2a91..edc3a2f4e06 100644 --- a/src/gallium/state_trackers/egl/egl_surface.c +++ b/src/gallium/state_trackers/egl/egl_surface.c @@ -391,8 +391,7 @@ drm_swap_buffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw) if (!_eglSwapBuffers(drv, dpy, draw)) return EGL_FALSE; - back_surf = st_get_framebuffer_surface(surf->stfb, - ST_SURFACE_BACK_LEFT); + st_get_framebuffer_surface(surf->stfb, ST_SURFACE_BACK_LEFT, &back_surf); if (back_surf) {