summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-09-22 14:34:11 +0300
committerTapani Pälli <[email protected]>2015-09-23 08:45:00 +0300
commit89524e717147053fe9da6e30daa0aaffcd29d26d (patch)
treef3bfe5869cb58a5fa02030d96d5527c7408d68e4 /src/mesa/main/fbobject.c
parent10da96887c785930c2553b2d5bde91e52b8b034a (diff)
glsl: bail out early in _mesa_ShaderSource if no shaderobj
Patch fixes a crash in conformance test that tries out different invalid arguments for glShaderSource and glGetShaderSource: ES2-CTS.gtf.GL.glGetShaderSource.getshadersource_programhandle This is a regression from commit: 04e201d0c02cd30ace5c6fe80e9f021ebb733682 Additions in v2 also fix following failing deqp test: dEQP-GLES[2|3].functional.negative_api.shader.shader_source v2: cleanup function, do check earlier (Iago Toral) Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
0 files changed, 0 insertions, 0 deletions