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);