summaryrefslogtreecommitdiff
path: root/src/intel_uxa.c
diff options
context:
space:
mode:
authorOwain G. Ainsworth <oga@openbsd.org>2011-05-30 00:29:24 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2011-05-30 00:29:24 +0100
commitf25e708e093683670371340056d9539666ba6cf9 (patch)
tree293eaa38ec12629c55c1e269a7db9f08c3ef58b7 /src/intel_uxa.c
parent83d5d5c8cc8669e85151f0bdfaf3160fa872db60 (diff)
Revert "Revert "i965: Invalidate pixmap binding location on reuse.""
This reverts commit 59449d604066542d5485359050d3083fa7bb40f8.
Diffstat (limited to 'src/intel_uxa.c')
-rw-r--r--src/intel_uxa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c
index 29b19619..1189c4e2 100644
--- a/src/intel_uxa.c
+++ b/src/intel_uxa.c
@@ -634,6 +634,7 @@ void intel_set_pixmap_bo(PixmapPtr pixmap, dri_bo * bo)
if (priv->bo == bo)
return;
+ priv->dst_bound = priv->src_bound = 0;
if (list_is_empty(&priv->batch)) {
dri_bo_unreference(priv->bo);
} else if (!drm_intel_bo_is_reusable(priv->bo)) {