egl: Adopt to st_framebuffer changes
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 28 Jan 2009 22:06:04 +0000 (23:06 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Wed, 28 Jan 2009 22:06:04 +0000 (23:06 +0100)
src/gallium/state_trackers/egl/egl_surface.c

index 71292bf2a91b1ba39cc9bdf2863d59db73ba9b67..edc3a2f4e06c3d73138e752824c912e22bbad79d 100644 (file)
@@ -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) {