Skip to content
Snippets Groups Projects
Commit 3dc08d4d authored by Marta Löfstedt's avatar Marta Löfstedt Committed by Emil Velikov
Browse files

main: glGetIntegeri_v fails for GL_VERTEX_BINDING_STRIDE


The return type for GL_VERTEX_BINDING_STRIDE is missing,
this cause glGetIntegeri_v to fail.

Signed-off-by: default avatarMarta Lofstedt <marta.lofstedt@linux.intel.com>
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 4a8cd279)
parent 8a3ed2de
No related branches found
No related tags found
No related merge requests found
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment