r300g: actually implement the is_buffer_busy hook the right way

Ooops.
This commit is contained in:
Marek Olšák
2011-02-15 03:54:24 +01:00
parent 45e1cd522b
commit 333d3daf47
@@ -304,14 +304,14 @@ static boolean radeon_bomgr_is_buffer_busy(struct pb_manager *_mgr,
struct radeon_bo *bo = radeon_bo(_buf);
if (radeon_bo_is_referenced_by_any_cs(bo)) {
return FALSE;
return TRUE;
}
if (radeon_bo_is_busy((struct r300_winsys_bo*)bo)) {
return FALSE;
return TRUE;
}
return TRUE;
return FALSE;
}
static void radeon_bomgr_destroy(struct pb_manager *_mgr)