diff options
author | Younes Manton <younes.m@gmail.com> | 2009-02-10 16:36:33 -0500 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2009-02-10 16:36:33 -0500 |
commit | 14d808f8fdc41a26cea5264e47a24c903e54ce93 (patch) | |
tree | 353b2660b8e76e62518294f63979832a185bf4c7 /src/gallium/drivers/nv40/nv40_screen.c | |
parent | c2be521d24eddb907ff556c0a8ec854a157ef9bc (diff) |
nouveau: nv40 swizzled mipmap fixes.gallium-0.2
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_screen.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c index 88a329ea24..2372bc8441 100644 --- a/src/gallium/drivers/nv40/nv40_screen.c +++ b/src/gallium/drivers/nv40/nv40_screen.c @@ -214,6 +214,8 @@ nv40_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); } } |