[PATCH 3/7] glamor: swallow gl errors before compiling programs

Eric Anholt eric at anholt.net
Mon Jan 12 18:42:42 PST 2015


Maarten Lankhorst <maarten.lankhorst at ubuntu.com> writes:

> In case the glamor implementation is buggy a error might be set
> before compiling, which causes glamor_build_program to enter
> the failure path even though shader compilation succeeded.
> Eat all errors before running glamor_build_program.

I'd rather delete the glGetError() from program compile.  We shouldn't
be calling it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150113/1885613f/attachment.sig>


More information about the xorg-devel mailing list