[PATCH xserver 1/5] glamor: Handle GL_OUT_OF_MEMORY when allocating texture images.

Keith Packard keithp at keithp.com
Tue Nov 10 20:21:45 PST 2015


Eric Anholt <eric at anholt.net> writes:

> +    if (glGetError() == GL_OUT_OF_MEMORY) {

It seems like you'll need to call this in a loop in case multiple error
bits are set?

And, don't you need to call this (repeatedly) before the function which
might generate an error in case there was an existing error pending?

-- 
-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/20151110/d5e79e8a/attachment.sig>


More information about the xorg-devel mailing list