[PATCH] glamor: fallback if font is too large for FBO size.

Keith Packard keithp at keithp.com
Tue Jan 12 07:43:45 PST 2016


Dave Airlie <airlied at gmail.com> writes:

> from glTexImage2D man page:
>        GL_INVALID_VALUE is generated if width is less than 0 or greater than
>        GL_MAX_TEXTURE_SIZE.
>
> Granted we should bail early since we know we are going to fail.

Ah, ok. Maybe we should check for that as well then, just in case the
driver has some other crazy error states.

Sorry for not adding my

Reviewed-by: Keith Packard <keithp at keithp.com>

before!

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20160112/0f3acb5c/attachment.sig>


More information about the xorg-devel mailing list