Mesa (gallium-0.2): egl: compilation fix
Zack Rusin
zack at kemper.freedesktop.org
Mon Jan 26 21:57:46 UTC 2009
Module: Mesa
Branch: gallium-0.2
Commit: 005a375068dc876b664114c7eb00f8d6b469fc1a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=005a375068dc876b664114c7eb00f8d6b469fc1a
Author: Zack Rusin <zackr at vmware.com>
Date: Mon Jan 26 14:37:08 2009 -0500
egl: compilation fix
---
src/gallium/winsys/egl_xlib/egl_xlib.c | 6 ++++--
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 477d766..82aa60a 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);
More information about the mesa-commit
mailing list