summaryrefslogtreecommitdiff
path: root/src/radeon_exa_render.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-11-20 01:06:49 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-11-20 01:08:19 -0500
commitdd3eab848cf352bb96c3d01fe6028d8a4a8e451e (patch)
treecdede8f1c0563fccf7a2b7dd3355f934f4625f6f /src/radeon_exa_render.c
parenteb9bc133fc426e67b397e661bfd22bf62009d9d3 (diff)
r300: render target limit is 2560
limit was increased to 4021 in r4xx. fixes fdo bug 25191. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r--src/radeon_exa_render.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index b7457057..c1448900 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -1348,8 +1348,13 @@ static Bool R300CheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskP
} else {
max_tex_w = 2048;
max_tex_h = 2048;
- max_dst_w = 4021;
- max_dst_h = 4021;
+ if (IS_R400_3D) {
+ max_dst_w = 4021;
+ max_dst_h = 4021;
+ } else {
+ max_dst_w = 2560;
+ max_dst_h = 2560;
+ }
}
if (pSrcPixmap->drawable.width > max_tex_w ||