diff options
author | Dave Airlie <airlied@starflyer-ubuntu.(none)> | 2006-09-12 03:33:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@starflyer-ubuntu.(none)> | 2006-09-12 03:33:35 +1000 |
commit | 84e574986f61c4f250d6ecb938bab20847618906 (patch) | |
tree | bc575dad9629ae2c354a8a3f88bfbefebb3b1198 | |
parent | 487376cce72ef8f19b4e3dc742b53500bed7c480 (diff) |
radeon: fallback render repeat for XAA, this fixes corruptions seen on ubuntu
This isn't the correct fix, we should just fix the repeat case, but for a
stable release this is much better idea
-rw-r--r-- | src/radeon_render.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/radeon_render.c b/src/radeon_render.c index 0fab39f6..88d4c528 100644 --- a/src/radeon_render.c +++ b/src/radeon_render.c @@ -389,6 +389,10 @@ static Bool FUNC_NAME(R100SetupTexture)( #endif ACCEL_PREAMBLE(); + /* render repeat is broken - fix in stable tree by falling back */ + if (flags & XAA_RENDER_REPEAT) + return FALSE; + if ((width > 2048) || (height > 2048)) return FALSE; @@ -721,6 +725,10 @@ static Bool FUNC_NAME(R200SetupTexture)( #endif ACCEL_PREAMBLE(); + /* render repeat is broken - fix in stable tree by falling back */ + if (flags & XAA_RENDER_REPEAT) + return FALSE; + if ((width > 2048) || (height > 2048)) return FALSE; |