summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/uxa/i965_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uxa/i965_render.c b/src/uxa/i965_render.c
index 35869677..404fc12a 100644
--- a/src/uxa/i965_render.c
+++ b/src/uxa/i965_render.c
@@ -2109,6 +2109,7 @@ i965_prepare_composite(int op, PicturePtr source_picture,
}
if (mask) {
+ assert(mask_picture != NULL);
if (mask_picture->componentAlpha &&
PICT_FORMAT_RGB(mask_picture->format)) {
if (i965_blend_op[op].src_alpha) {