diff options
author | Eric Anholt <[email protected]> | 2007-05-18 12:10:05 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-05-18 12:10:05 -0700 |
commit | 71648a088ee7bfb1a535f32c8afdef4dc2d43e9e (patch) | |
tree | b80d62678b4a0cd758741eca05a658c3b021dcf1 /src | |
parent | 180f0bb964cd7aa233233dbe3bc6605e07ef1d4c (diff) |
Dead code elimination and fix bufmgr_fake_wait_idle.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr_fake.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr_fake.c b/src/mesa/drivers/dri/common/dri_bufmgr_fake.c index 0ef3199d5f3..914410e4bab 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr_fake.c +++ b/src/mesa/drivers/dri/common/dri_bufmgr_fake.c @@ -501,7 +501,7 @@ dri_bufmgr_fake_wait_idle(dri_bufmgr_fake *bufmgr_fake) unsigned int cookie; cookie = bufmgr_fake->fence_emit(bufmgr_fake->driver_priv); - _fence_wait_internal(bufmgr_fake->driver_priv, cookie); + _fence_wait_internal(bufmgr_fake, cookie); } /* Specifically ignore texture memory sharing. @@ -688,7 +688,6 @@ dri_fake_bo_map(dri_bo *bo, GLboolean write_enable) static int dri_fake_bo_unmap(dri_bo *bo) { - dri_bufmgr_fake *bufmgr_fake; dri_bo_fake *bo_fake = (dri_bo_fake *)bo; /* Static buffers are always mapped. */ @@ -698,8 +697,6 @@ dri_fake_bo_unmap(dri_bo *bo) if (bo == NULL) return 0; - bufmgr_fake = (dri_bufmgr_fake *)bo->bufmgr; - bo->virtual = NULL; return 0; |