summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 18:00:19 -0700
committerBrian Paul <brianp@vmware.com>2009-01-06 09:12:00 -0700
commit7f0462abe7075db92e7f5c30cec692497be514f0 (patch)
tree5410a2c9ccbe0e32859cd43cac0e62a234cae98c /src/mesa/shader
parente153275ae80e04de2fbc33313327a4a7cc754649 (diff)
mesa: remove old size=4 limit
(cherry picked from commit 0da44c62cc91c60d392f6e57aa047473b67ffb9b)
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/prog_parameter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c
index 6744ad93b8..e6653157d4 100644
--- a/src/mesa/shader/prog_parameter.c
+++ b/src/mesa/shader/prog_parameter.c
@@ -187,7 +187,6 @@ _mesa_add_named_constant(struct gl_program_parameter_list *paramList,
return pos;
}
#endif
- size = 4; /** XXX fix */
return _mesa_add_parameter(paramList, PROGRAM_CONSTANT, name,
size, GL_NONE, values, NULL, 0x0);
}