diff options
-rw-r--r-- | src/i830_render.c | 2 | ||||
-rw-r--r-- | src/i915_render.c | 2 | ||||
-rw-r--r-- | src/i965_render.c | 2 |
3 files changed, 3 insertions, 3 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]); diff --git a/src/i915_render.c b/src/i915_render.c index b15beefe..8ac1b78e 100644 --- a/src/i915_render.c +++ b/src/i915_render.c @@ -188,7 +188,7 @@ static Bool i915_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(i915_tex_formats) / sizeof(i915_tex_formats[0]); diff --git a/src/i965_render.c b/src/i965_render.c index 7f798e6c..ada3919a 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -182,7 +182,7 @@ static Bool i965_check_composite_texture(PicturePtr pPict, int unit) int h = pPict->pDrawable->height; int i; - if ((w > 0x7ff) || (h > 0x7ff)) + if ((w > 8192) || (h > 8192)) I830FALLBACK("Picture w/h too large (%dx%d)\n", w, h); for (i = 0; i < sizeof(i965_tex_formats) / sizeof(i965_tex_formats[0]); |