summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
Diffstat (limited to 'intel')
-rw-r--r--intel/intel_bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c
index 25462220..e949ff2a 100644
--- a/intel/intel_bufmgr.c
+++ b/intel/intel_bufmgr.c
@@ -143,7 +143,7 @@ drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used,
cliprects, num_cliprects, DR4,
rings);
- if (ring_flag == 0)
+ if (rings == 0)
return bo->bufmgr->bo_exec(bo, used,
cliprects, num_cliprects, DR4);