summaryrefslogtreecommitdiff
path: root/src/intel_batchbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel_batchbuffer.h')
-rw-r--r--src/intel_batchbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel_batchbuffer.h b/src/intel_batchbuffer.h
index 3022f254..6d119b2e 100644
--- a/src/intel_batchbuffer.h
+++ b/src/intel_batchbuffer.h
@@ -137,6 +137,8 @@ intel_batch_mark_pixmap_domains(intel_screen_private *intel,
priv->batch_write |= write_domain != 0;
priv->busy = 1;
+
+ intel->needs_flush |= write_domain != 0;
}
static inline void