summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_resource.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-02 22:39:50 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-04 16:14:38 +0100
commitc024c1d75fdce72fe2de2d6b987b796fc9561115 (patch)
tree423b8ad31e96258e13375c0b81db3be6b39364cb /src/gallium/drivers/nvc0/nvc0_resource.h
parente1e29395df64b763e9de09eca1039a3c2ebcec54 (diff)
nvc0: fix resource unmap after vertex push
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_resource.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_resource.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_resource.h b/src/gallium/drivers/nvc0/nvc0_resource.h
index 0ffb9e8fa6..d33e2f0ed0 100644
--- a/src/gallium/drivers/nvc0/nvc0_resource.h
+++ b/src/gallium/drivers/nvc0/nvc0_resource.h
@@ -102,8 +102,7 @@ nvc0_resource_map_offset(struct nvc0_context *nvc0,
static INLINE void
nvc0_resource_unmap(struct nvc0_resource *res)
{
- if (res->domain != 0 && 0)
- nouveau_bo_unmap(res->bo);
+ /* no-op */
}
#define NVC0_TILE_DIM_SHIFT(m, d) (((m) >> (d * 4)) & 0xf)