summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_parameter.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-21 13:58:50 -0600
committerBrian Paul <[email protected]>2008-07-29 17:16:17 -0600
commitffbc66bf614c5a2b9bc3a68a6fa7d027405a55b9 (patch)
tree4cbf99c92188da1cb3ae9f3ca77392517fa30d18 /src/mesa/shader/prog_parameter.h
parent74a19b0abd382574ff583eab81a374acead9254d (diff)
mesa: assorted glsl uniform/attribute fixes
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
Diffstat (limited to 'src/mesa/shader/prog_parameter.h')
-rw-r--r--src/mesa/shader/prog_parameter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_parameter.h b/src/mesa/shader/prog_parameter.h
index 105f6f24deb..dfb8c39ca4e 100644
--- a/src/mesa/shader/prog_parameter.h
+++ b/src/mesa/shader/prog_parameter.h
@@ -122,7 +122,7 @@ _mesa_add_varying(struct gl_program_parameter_list *paramList,
extern GLint
_mesa_add_attribute(struct gl_program_parameter_list *paramList,
- const char *name, GLint size, GLint attrib);
+ const char *name, GLint size, GLenum datatype, GLint attrib);
extern GLint
_mesa_add_state_reference(struct gl_program_parameter_list *paramList,