summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-01-28 23:06:04 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2009-01-28 23:06:04 +0100
commit585c10b46daada282730dc65a6515cab4ca9ff7f (patch)
treec1c2f8e3658843aea2726c596f1eeeb39886c2d6
parent1be4d4d4c6af61bda9e682e3fd347228d2589f8a (diff)
egl: Adopt to st_framebuffer changes
-rw-r--r--src/gallium/state_trackers/egl/egl_surface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/egl_surface.c b/src/gallium/state_trackers/egl/egl_surface.c
index 71292bf2a9..edc3a2f4e0 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) {