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.
Signed-off-by: Maarten Lankhorst
---
glamor/glamor_program.c
Maarten Lankhorst 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 glGe