diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2013-11-25 09:09:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-25 10:04:49 +0000 |
commit | 6f066b6714df850c5ea42dbde2296803c5b06da0 (patch) | |
tree | cea0a87715f6a231e3d46bf63ce8f9f2a0bf8aca | |
parent | ea18b7780e7d0d7fcd36b656a4fd974fb9d7137d (diff) |
uxa: Ensure mask_picture is defined
Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
-rw-r--r-- | src/uxa/i965_render.c | 1 |
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) { |