egl: compilation fix

This commit is contained in:
Zack Rusin 2009-01-26 14:37:08 -05:00
parent 3d607ef37f
commit 005a375068
1 changed files with 4 additions and 2 deletions

View File

@ -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);