summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-07 19:22:30 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-07 19:22:30 +0000
commitd90c8f4d0bb6b79ecdcaa82f87291169c18c64b9 (patch)
tree8a4aee9b01cfbd9600815f32766b1fcd3e8048eb /src
parent4a186a612376bdd6f86c026e8b8b442108868a0a (diff)
i965: Invalidate pixmap binding location on reuse.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-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 a2a58fbd..2be26b28 100644
--- a/src/intel_uxa.c
+++ b/src/intel_uxa.c
@@ -630,6 +630,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)) {