From: Ian Romanick Date: Wed, 5 Dec 2012 02:29:24 +0000 (-0800) Subject: mesa: Add GetProgramiv support for GL_PROGRAM_BINARY_LENGTH X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31ca0c8be33b78b8e7321ac9625d89941d7a5233;p=mesa.git mesa: Add GetProgramiv support for GL_PROGRAM_BINARY_LENGTH Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index e664650c88d..7f5fce796e5 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -595,6 +595,9 @@ get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *param *params = shProg->BinaryRetreivableHint; return; + case GL_PROGRAM_BINARY_LENGTH: + *params = 0; + return; default: break; }