From 31ca0c8be33b78b8e7321ac9625d89941d7a5233 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 4 Dec 2012 18:29:24 -0800 Subject: mesa: Add GetProgramiv support for GL_PROGRAM_BINARY_LENGTH Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/main/shaderapi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3