summaryrefslogtreecommitdiffstats
path: root/progs/glsl/toyball.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/toyball.c
parent378bff0eddf004d131a4c83194fb3e83492c4c37 (diff)
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/glsl/toyball.c')
-rw-r--r--progs/glsl/toyball.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/glsl/toyball.c b/progs/glsl/toyball.c
index 7fe27aebfe6..13f57766844 100644
--- a/progs/glsl/toyball.c
+++ b/progs/glsl/toyball.c
@@ -173,7 +173,8 @@ Init(void)
glUseProgram(program);
- InitUniforms(program, Uniforms);
+ SetUniformValues(program, Uniforms);
+ PrintUniforms(Uniforms);
assert(glGetError() == 0);