summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-01-28 23:06:04 +0100
committerJakob Bornecrantz <[email protected]>2009-01-28 23:06:04 +0100
commit585c10b46daada282730dc65a6515cab4ca9ff7f (patch)
treec1c2f8e3658843aea2726c596f1eeeb39886c2d6 /src
parent1be4d4d4c6af61bda9e682e3fd347228d2589f8a (diff)
egl: Adopt to st_framebuffer changes
Diffstat (limited to 'src')
-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 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) {