diff options
author | Younes Manton <younes.m@gmail.com> | 2008-09-12 15:10:43 -0400 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2008-09-12 15:10:43 -0400 |
commit | 56c22687e139e8fede6f7ea4d524699364dda07c (patch) | |
tree | 2d384b2fb42a53d5da3e8dacfe22e4531339713c /src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c | |
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.
Diffstat (limited to 'src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c')
-rw-r--r-- | src/gallium/winsys/g3dvl/nouveau/nouveau_winsys_pipe.c | 2 |
1 files changed, 1 insertions, 1 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); } } |