summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_miptree.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-02-01 18:48:16 -0500
committerZack Rusin <zackr@vmware.com>2009-02-01 18:48:16 -0500
commit1c90cdd878e9d10e1f6ac619d5d0c3f5151fcb2b (patch)
treef7463e67788d7b096668e2627118f39aec81ba81 /src/gallium/drivers/nv30/nv30_miptree.c
parent9aa73cfae84c7710df97ce182d32bea8d3423ab7 (diff)
parent64e525eab9e7c60ee18bc75e6f269783533d5edd (diff)
Merge branch 'gallium-winsys-private' into gallium-0.2
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_miptree.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_miptree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_miptree.c b/src/gallium/drivers/nv30/nv30_miptree.c
index 54fb3585f8..79baac714c 100644
--- a/src/gallium/drivers/nv30/nv30_miptree.c
+++ b/src/gallium/drivers/nv30/nv30_miptree.c
@@ -181,7 +181,7 @@ nv30_miptree_surface_del(struct pipe_screen *pscreen,
return;
pipe_texture_reference(&ps->texture, NULL);
- pipe_buffer_reference(pscreen->winsys, &ps->buffer, NULL);
+ pipe_buffer_reference(pscreen, &ps->buffer, NULL);
FREE(ps);
}