diff options
author | Dave Airlie <airlied@redhat.com> | 2009-12-17 14:29:04 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-22 10:23:41 +1000 |
commit | 9373287a1b6ddb7b96ee10220d282a0f11ae24a2 (patch) | |
tree | e7cdd9c47166e925ac0a822b6883c1439bca89a1 /src/mesa/drivers/dri/radeon/radeon_span.c | |
parent | 9d2910ee0fd2d8ef95c6948598f702bf5a9e0d44 (diff) |
radeon/r600: use new libdrm_radeon api
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_span.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_span.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_span.c b/src/mesa/drivers/dri/radeon/radeon_span.c index d603f52df7..5982ee4826 100644 --- a/src/mesa/drivers/dri/radeon/radeon_span.c +++ b/src/mesa/drivers/dri/radeon/radeon_span.c @@ -755,8 +755,7 @@ static void map_unmap_rb(struct gl_renderbuffer *rb, int flag) return; if (flag) { - if (rrb->bo->bom->funcs->bo_wait) - radeon_bo_wait(rrb->bo); + radeon_bo_wait(rrb->bo); r = radeon_bo_map(rrb->bo, 1); if (r) { fprintf(stderr, "(%s) error(%d) mapping buffer.\n", |