summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/xlib/xm_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/xlib/xm_winsys.c b/src/mesa/pipe/xlib/xm_winsys.c
index b73fcab68d2..d737e984d1c 100644
--- a/src/mesa/pipe/xlib/xm_winsys.c
+++ b/src/mesa/pipe/xlib/xm_winsys.c
@@ -297,7 +297,7 @@ xm_surface_alloc(struct pipe_winsys *ws, GLuint pipeFormat)
static void
-xm_surface_release(struct pipe_winsys *ws, struct pipe_surface **s)
+xm_surface_release(struct pipe_winsys *winsys, struct pipe_surface **s)
{
struct pipe_surface *surf = *s;
if (surf->region)