mesa: remove old size=4 limit
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 13 Dec 2008 01:00:19 +0000 (18:00 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 13 Dec 2008 01:00:19 +0000 (18:00 -0700)
src/mesa/shader/prog_parameter.c

index 32f8860a1491366ee81dc584109132c23e135192..c0602ad2c948b35588a68841519fb556802cead4 100644 (file)
@@ -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);
 }