summaryrefslogtreecommitdiffstats
path: root/progs/glsl/multitex.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-12 13:53:56 -0600
committerBrian Paul <[email protected]>2009-08-12 17:28:45 -0600
commit684049d97d423a5a873aefc5313d0c4b22528b95 (patch)
tree2971be3a76aa280a053801ea5f7b63f0af324824 /progs/glsl/multitex.c
parent378bff0eddf004d131a4c83194fb3e83492c4c37 (diff)
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/glsl/multitex.c')
-rw-r--r--progs/glsl/multitex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/glsl/multitex.c b/progs/glsl/multitex.c
index a4a8bbe38fa..ce79bc1b4d5 100644
--- a/progs/glsl/multitex.c
+++ b/progs/glsl/multitex.c
@@ -328,7 +328,8 @@ CreateProgram(const char *vertProgFile, const char *fragProgFile,
glUseProgram(program);
- InitUniforms(program, uniforms);
+ SetUniformValues(program, uniforms);
+ PrintUniforms(Uniforms);
VertCoord_attr = glGetAttribLocation(program, "VertCoord");
if (VertCoord_attr > 0) {