diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-03 14:55:05 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-09-03 14:55:05 +0200 |
commit | 78fcbf577ad6eba6399cc39f74b7ce5f9c8e265e (patch) | |
tree | cf49479a10ed298fd91135443c9eae27a0e4f5c3 /src/r600_exa.c | |
parent | 794ae743c305331741e7cf45dd71c755fe325ed5 (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.c | 3 |
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; |