summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
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
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')
-rw-r--r--src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c2
-rw-r--r--src/gallium/winsys/g3dvl/xsp_winsys.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c b/src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c
index 5d5380c250..4f6ac9cad0 100644
--- a/src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c
+++ b/src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c
@@ -84,7 +84,7 @@ nouveau_surface_release(struct pipe_winsys *ws, struct pipe_surface **s)
*s = NULL;
if (--surf->refcount <= 0) {
if (surf->buffer)
- pipe_buffer_reference(ws, &surf->buffer, NULL);
+ winsys_buffer_reference(ws, &surf->buffer, NULL);
free(surf);
}
}
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);
}