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

2015-01-12 Thread Maarten Lankhorst
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

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

2015-01-12 Thread Eric Anholt
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