diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/egl/egl_surface.c | 3 |
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) { |