mesa: Add missing error checks to GetProgramInfoLog, GetShaderInfoLog and GetProgramiv
authorEduardo Lima Mitev <elima@igalia.com>
Sat, 14 Feb 2015 12:25:20 +0000 (13:25 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 24 Feb 2015 07:58:54 +0000 (08:58 +0100)
commit0c47e5492b2055848f88e41a14b0083674c5b18e
tree7b37564da6903b153ca4a5614412acb850c1a28a
parentfe74fee8fa721a42448470e063870d24f9453dab
mesa: Add missing error checks to GetProgramInfoLog, GetShaderInfoLog and GetProgramiv

Fixes 3 dEQP tests:
* dEQP-GLES3.functional.negative_api.state.get_program_info_log
* dEQP-GLES3.functional.negative_api.state.get_shader_info_log
* dEQP-GLES3.functional.negative_api.state.get_programiv

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/shaderapi.c