summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/g3dvl/xsp_winsys.c
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2008-09-12 15:10:43 -0400
committerYounes Manton <younes.m@gmail.com>2008-09-12 15:10:43 -0400
commit56c22687e139e8fede6f7ea4d524699364dda07c (patch)
tree2d384b2fb42a53d5da3e8dacfe22e4531339713c /src/gallium/winsys/g3dvl/xsp_winsys.c
parentf3f449a49136ae2fd2dc3cf62d2c24dd42505e7d (diff)
g3dvl: Use winsys_buffer_reference() instead of pipe_buffer_reference().
Old pipe_buffer_reference() renamed winsys_buffer_reference(), new pipe_buffer_reference() expects a screen.
Diffstat (limited to 'src/gallium/winsys/g3dvl/xsp_winsys.c')
-rw-r--r--src/gallium/winsys/g3dvl/xsp_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/g3dvl/xsp_winsys.c b/src/gallium/winsys/g3dvl/xsp_winsys.c
index 42e7841df8..68be2c2ea3 100644
--- a/src/gallium/winsys/g3dvl/xsp_winsys.c
+++ b/src/gallium/winsys/g3dvl/xsp_winsys.c
@@ -158,7 +158,7 @@ static void xsp_surface_release(struct pipe_winsys *pws, struct pipe_surface **s
if (s->refcount == 0)
{
- pipe_buffer_reference(pws, &s->buffer, NULL);
+ winsys_buffer_reference(pws, &s->buffer, NULL);
free(s);
}