summaryrefslogtreecommitdiff
path: root/src/r600_exa.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-09-03 14:55:05 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-09-03 14:55:05 +0200
commit78fcbf577ad6eba6399cc39f74b7ce5f9c8e265e (patch)
treecf49479a10ed298fd91135443c9eae27a0e4f5c3 /src/r600_exa.c
parent794ae743c305331741e7cf45dd71c755fe325ed5 (diff)
EXA: Check for solid/gradient pictures the same way for all generations.
In particular, also catch them for >= R300.
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r--src/r600_exa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index f2ddc677..d2df1dbe 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -1344,6 +1344,9 @@ static Bool R600CheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskP
if (op >= (int) (sizeof(R600BlendOp) / sizeof(R600BlendOp[0])))
RADEON_FALLBACK(("Unsupported Composite op 0x%x\n", op));
+ if (!pSrcPicture->pDrawable)
+ RADEON_FALLBACK(("Solid or gradient pictures not supported yet\n"));
+
pSrcPixmap = RADEONGetDrawablePixmap(pSrcPicture->pDrawable);
max_tex_w = 8192;