diff options
author | Younes Manton <[email protected]> | 2008-09-12 15:10:43 -0400 |
---|---|---|
committer | Younes Manton <[email protected]> | 2008-09-12 15:10:43 -0400 |
commit | 56c22687e139e8fede6f7ea4d524699364dda07c (patch) | |
tree | 2d384b2fb42a53d5da3e8dacfe22e4531339713c | |
parent | f3f449a49136ae2fd2dc3cf62d2c24dd42505e7d (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.
-rw-r--r-- | src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/g3dvl/xsp_winsys.c | 2 |
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 5d5380c2502..4f6ac9cad0b 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 42e7841df85..68be2c2ea3a 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); } |