summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_screen.c
diff options
context:
space:
mode:
authorPatrice Mandin <patmandin@gmail.com>2009-02-10 22:22:55 +0100
committerPatrice Mandin <patmandin@gmail.com>2009-02-10 22:22:55 +0100
commitc2be521d24eddb907ff556c0a8ec854a157ef9bc (patch)
tree140299d519c8a7e28043e03f792cd0e7a10183dc /src/gallium/drivers/nv30/nv30_screen.c
parent24c379badba888bd58cd759865e454e02235c65a (diff)
nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at the right places
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_screen.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c
index e3c9b42044..c97a73f0b1 100644
--- a/src/gallium/drivers/nv30/nv30_screen.c
+++ b/src/gallium/drivers/nv30/nv30_screen.c
@@ -206,6 +206,8 @@ nv30_surface_unmap(struct pipe_screen *screen, struct pipe_surface *surface)
nvscreen->eng2d->copy(nvscreen->eng2d, surface, 0, 0,
surface_to_unmap, 0, 0,
surface->width, surface->height);
+
+ screen->tex_surface_release(screen, &surface_to_unmap);
}
}