projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d607ef
)
egl: compilation fix
author
Zack Rusin
<zackr@vmware.com>
Mon, 26 Jan 2009 19:37:08 +0000
(14:37 -0500)
committer
Zack Rusin
<zackr@vmware.com>
Mon, 26 Jan 2009 21:53:33 +0000
(16:53 -0500)
src/gallium/winsys/egl_xlib/egl_xlib.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/egl_xlib/egl_xlib.c
b/src/gallium/winsys/egl_xlib/egl_xlib.c
index 477d766925c8af37a9e191688bb483894bd6dad9..82aa60ae58f14e1022734bb82c63b58d93732099 100644
(file)
--- 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);