summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
Diffstat (limited to 'uxa')
-rw-r--r--uxa/uxa-render.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index 33fe9af3..a4cebe3d 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -856,6 +856,9 @@ uxa_acquire_picture(ScreenPtr screen,
dst = uxa_acquire_drawable(screen, src,
x, y, width, height,
out_x, out_y);
+ if (!dst)
+ return 0;
+
if (uxa_screen->info->check_composite_texture &&
!uxa_screen->info->check_composite_texture(screen, dst)) {
if (dst != src)