summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/uniforms.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-04-27 15:56:44 -0700
committerEric Anholt <[email protected]>2012-07-20 10:43:40 -0700
commit9f1a4a6340824786142be9bc14f0c3418f14a69f (patch)
tree8fe11dbc309bafd5299540cc14df27dce368e888 /src/mesa/main/uniforms.c
parentacfbdfcbc8263cc0ace3468457a209dd80da017e (diff)
mesa: Add support for glGetActiveUniformsiv on non-UBO pnames.
We'll need to propagate the UBO fields to the uniform storage records before we can handle the other pnames. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/uniforms.c')
-rw-r--r--src/mesa/main/uniforms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 9ed5d7e03a8..1cec5922db5 100644
--- a/src/mesa/main/uniforms.c
+++ b/src/mesa/main/uniforms.c
@@ -616,6 +616,7 @@ _mesa_init_shader_uniform_dispatch(struct _glapi_table *exec)
/* GL_ARB_uniform_buffer_object / GL 3.1 */
SET_GetUniformIndices(exec, _mesa_GetUniformIndices);
+ SET_GetActiveUniformsiv(exec, _mesa_GetActiveUniformsiv);
#endif /* FEATURE_GL */
}