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.
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. */
if (bo == NULL)
return 0;
- bufmgr_fake = (dri_bufmgr_fake *)bo->bufmgr;
-
bo->virtual = NULL;
return 0;