summaryrefslogtreecommitdiff
path: root/src/i830_render.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-18 13:45:46 -0700
committerKeith Packard <keithp@keithp.com>2008-03-18 14:10:25 -0700
commit4f5500abe209b92b39ae1f2d7a1118362ac95034 (patch)
tree06c84c603c92fb6f7f4ce09e700a80253a9e868f /src/i830_render.c
parentb1b173d03b3acd300c3b0f0ceffeddf1a8137839 (diff)
8xx/9xx can handle textures to 2kx2k. 965 can do 8kx8k
Diffstat (limited to 'src/i830_render.c')
-rw-r--r--src/i830_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_render.c b/src/i830_render.c
index 949c7006..78ae40a0 100644
--- a/src/i830_render.c
+++ b/src/i830_render.c
@@ -231,7 +231,7 @@ static Bool i830_check_composite_texture(PicturePtr pPict, int unit)
int h = pPict->pDrawable->height;
int i;
- if ((w > 0x7ff) || (h > 0x7ff))
+ if ((w > 2048) || (h > 2048))
I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h);
for (i = 0; i < sizeof(i830_tex_formats) / sizeof(i830_tex_formats[0]);