diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-12 12:41:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-12 12:50:31 +0100 |
commit | 00664b8f9d3da8d0d6aa53471ed3a8a8f6391660 (patch) | |
tree | 6abd242fcef3051de235467d9c4047d8f0217338 /uxa/uxa-render.c | |
parent | 0c6372a77fd8c051534c1b420a02a8737aa1dd01 (diff) |
uxa: Fallback when compositing to a !offscreen destination
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-render.c')
-rw-r--r-- | uxa/uxa-render.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index ee91b5c0..16657aa2 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -1324,6 +1324,9 @@ uxa_composite(CARD8 op, if (uxa_screen->swappedOut) goto fallback; + if (!uxa_drawable_is_offscreen(pDst->pDrawable)) + goto fallback; + /* Remove repeat in source if useless */ if (pSrc->pDrawable && pSrc->repeat && transform_is_integer_translation(pSrc->transform, &tx, &ty) && |