summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-10-22 17:44:25 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-10-22 17:44:25 +0200
commite82fa0766a2a7bcf090ad576cf0810c510a2942b (patch)
treeb2207969b519b5e91913d0daa71c3230989cfc8d
parent7be2dce975d60d68dd962d4928b2971cd9e011af (diff)
radeon: Also fall back RENDER repeat for EXA on this branch.
-rw-r--r--src/radeon_exa_render.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 98b8dfd..4fc8089 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -204,8 +204,8 @@ static Bool R100CheckCompositeTexture(PicturePtr pPict, int unit)
RADEON_FALLBACK(("Unsupported picture format 0x%x\n",
(int)pPict->format));
- if (pPict->repeat && ((w & (w - 1)) != 0 || (h & (h - 1)) != 0))
- RADEON_FALLBACK(("NPOT repeat unsupported (%dx%d)\n", w, h));
+ if (pPict->repeat)
+ RADEON_FALLBACK(("Repeat unsupported (%dx%d)\n", w, h));
if (pPict->filter != PictFilterNearest &&
pPict->filter != PictFilterBilinear)
@@ -459,8 +459,8 @@ static Bool R200CheckCompositeTexture(PicturePtr pPict, int unit)
RADEON_FALLBACK(("Unsupported picture format 0x%x\n",
(int)pPict->format));
- if (pPict->repeat && ((w & (w - 1)) != 0 || (h & (h - 1)) != 0))
- RADEON_FALLBACK(("NPOT repeat unsupported (%dx%d)\n", w, h));
+ if (pPict->repeat)
+ RADEON_FALLBACK(("Repeat unsupported (%dx%d)\n", w, h));
if (pPict->filter != PictFilterNearest &&
pPict->filter != PictFilterBilinear)