summaryrefslogtreecommitdiffstats
path: root/progs/glsl/texdemo1.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/texdemo1.c
parent378bff0eddf004d131a4c83194fb3e83492c4c37 (diff)
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/glsl/texdemo1.c')
-rw-r--r--progs/glsl/texdemo1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/glsl/texdemo1.c b/progs/glsl/texdemo1.c
index d55f9e7dd97..f0dce8555e7 100644
--- a/progs/glsl/texdemo1.c
+++ b/progs/glsl/texdemo1.c
@@ -382,7 +382,8 @@ CreateProgram(const char *vertProgFile, const char *fragProgFile,
glUseProgram(program);
- InitUniforms(program, uniforms);
+ SetUniformValues(program, uniforms);
+ PrintUniforms(uniforms);
return program;
}