projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ec663b
)
sna: Assert that we do setup the gc->pCompositeClip upon ValidateGC
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 9 Nov 2013 11:15:39 +0000
(11:15 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 10 Nov 2013 10:35:27 +0000
(10:35 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_accel.c
b/src/sna/sna_accel.c
index
bf5f16a
..
b1dc2f7
100644
(file)
--- a/
src/sna/sna_accel.c
+++ b/
src/sna/sna_accel.c
@@
-15639,6
+15639,8
@@
sna_validate_gc(GCPtr gc, unsigned long changes, DrawablePtr drawable)
gc->pCompositeClip->extents.y2));
}
+ assert(gc->pCompositeClip);
+
sna_gc(gc)->changes |= changes;
}