From 4a8cd2799c2467b9916dd0ba672f05a394aa9b9f Mon Sep 17 00:00:00 2001 From: Marta Lofstedt Date: Thu, 7 May 2015 17:13:47 +0200 Subject: [PATCH] main: glGetIntegeri_v fails for GL_VERTEX_BINDING_STRIDE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The return type for GL_VERTEX_BINDING_STRIDE is missing, this cause glGetIntegeri_v to fail. Signed-off-by: Marta Lofstedt Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov Cc: "10.4 10.5" --- src/mesa/main/get.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index a881bc589ba..09be715f911 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1911,6 +1911,7 @@ find_value_indexed(const char *func, GLenum pname, GLuint index, union value *v) if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs) goto invalid_value; v->value_int = ctx->Array.VAO->VertexBinding[VERT_ATTRIB_GENERIC(index)].Stride; + return TYPE_INT; /* ARB_shader_image_load_store */ case GL_IMAGE_BINDING_NAME: { -- 2.30.2