summaryrefslogtreecommitdiff
path: root/src/radeon_exa_render.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-10-23 10:12:32 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-10-23 10:12:32 +0200
commit355fa6a5f01183ce2c6fadc7f1e8cb683b9adfd4 (patch)
tree7c660783fd2aadce68835193a9eb105fd231165c /src/radeon_exa_render.c
parente82fa0766a2a7bcf090ad576cf0810c510a2942b (diff)
radeon: Repeat should always work with 1x1.
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r--src/radeon_exa_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 4fc80896..54b0fe13 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -204,7 +204,7 @@ static Bool R100CheckCompositeTexture(PicturePtr pPict, int unit)
RADEON_FALLBACK(("Unsupported picture format 0x%x\n",
(int)pPict->format));
- if (pPict->repeat)
+ if (pPict->repeat && ((w != 1) || (h != 1)))
RADEON_FALLBACK(("Repeat unsupported (%dx%d)\n", w, h));
if (pPict->filter != PictFilterNearest &&
@@ -459,7 +459,7 @@ static Bool R200CheckCompositeTexture(PicturePtr pPict, int unit)
RADEON_FALLBACK(("Unsupported picture format 0x%x\n",
(int)pPict->format));
- if (pPict->repeat)
+ if (pPict->repeat && ((w != 1) || (h != 1)))
RADEON_FALLBACK(("Repeat unsupported (%dx%d)\n", w, h));
if (pPict->filter != PictFilterNearest &&