summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_miptree.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-12 11:45:50 +0200
committerLuca Barbieri <[email protected]>2010-04-12 11:49:09 +0200
commita57dcef636d2a9d0fa77a7ff485bd1ed9018b64c (patch)
tree45b41f42a9712a31be12e25d7698245a20b01e08 /src/gallium/drivers/nvfx/nvfx_miptree.c
parentd5af1dce8fc23dc3763773e3c0b7e0be128d2aa0 (diff)
nvfx: fix bind flags
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_miptree.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_miptree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_miptree.c b/src/gallium/drivers/nvfx/nvfx_miptree.c
index 385551c8241..602a4768d4e 100644
--- a/src/gallium/drivers/nvfx/nvfx_miptree.c
+++ b/src/gallium/drivers/nvfx/nvfx_miptree.c
@@ -302,7 +302,7 @@ nvfx_miptree_surface_del(struct pipe_surface *ps)
if(ns->backing)
{
struct nvfx_screen* screen = (struct nvfx_screen*)ps->texture->screen;
- if(ns->backing->base.usage & PIPE_BIND_RENDER_TARGET)
+ if(ns->backing->base.usage & PIPE_BIND_BLIT_DESTINATION)
screen->eng2d->copy(screen->eng2d, &ns->backing->base, 0, 0, ps, 0, 0, ns->base.width, ns->base.height);
nvfx_miptree_surface_del(&ns->backing->base);
}