summaryrefslogtreecommitdiff
path: root/src/mga_exa.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-06 11:48:16 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-06 11:48:16 +0200
commite7eccaba96e5bc4ff3ddde49b5245cd448bd5d9b (patch)
tree6f6a86da8e91f2515f755250db67944ed85e1df5 /src/mga_exa.c
parent72338321331fe8830d1d95a1c7f4a4fb5f2d9b0a (diff)
Rendering to (A)BGR isn't supported.
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r--src/mga_exa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c
index 336248c..d7cbf5d 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -390,6 +390,11 @@ mgaCheckComposite(int op, PicturePtr pSrcPict, PicturePtr pMaskPict,
break;
}
+ if (PICT_FORMAT_TYPE(pDstPict->format) == PICT_TYPE_ABGR) {
+ DEBUG_MSG(("render to (A)BGR unsupported\n"));
+ return FALSE;
+ }
+
return TRUE;
}