diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index 8dda38d1262..64f54498672 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -207,10 +207,8 @@ brw_bo_busy(struct brw_bo *bo) if (ret == 0) { bo->idle = !busy.busy; return busy.busy; - } else { - return false; } - return (ret == 0 && busy.busy); + return false; } int |