summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-01-26 14:37:08 -0500
committerZack Rusin <zackr@vmware.com>2009-01-26 16:53:33 -0500
commit005a375068dc876b664114c7eb00f8d6b469fc1a (patch)
tree137e1267b68eda6e56d8434141cfaf74c9ae4451 /src
parent3d607ef37fdfa0871096c99674af92278f33246b (diff)
egl: compilation fix
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/egl_xlib/egl_xlib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/winsys/egl_xlib/egl_xlib.c b/src/gallium/winsys/egl_xlib/egl_xlib.c
index 477d766925..82aa60ae58 100644
--- a/src/gallium/winsys/egl_xlib/egl_xlib.c
+++ b/src/gallium/winsys/egl_xlib/egl_xlib.c
@@ -559,8 +559,10 @@ xlib_eglSwapBuffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw)
{
struct xlib_egl_surface *xsurf = lookup_surface(draw);
struct pipe_winsys *pws = xsurf->winsys;
- struct pipe_surface *psurf =
- st_get_framebuffer_surface(xsurf->Framebuffer, ST_SURFACE_BACK_LEFT);
+ struct pipe_surface *psurf;
+
+ st_get_framebuffer_surface(xsurf->Framebuffer, ST_SURFACE_BACK_LEFT,
+ &psurf);
st_notify_swapbuffers(xsurf->Framebuffer);