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 <brianp@vmware.com>
Tue, 6 Jan 2009 16:12:00 +0000 (09:12 -0700)
(cherry picked from commit 0da44c62cc91c60d392f6e57aa047473b67ffb9b)

src/mesa/shader/prog_parameter.c

index 6744ad93b81af55baf9b3007fd191b773b004103..e6653157d466a933a0cd43f94780a27e9a96911a 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);
 }