summaryrefslogtreecommitdiffstats
path: root/progs/glsl/mandelbrot.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/mandelbrot.c
parent378bff0eddf004d131a4c83194fb3e83492c4c37 (diff)
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/glsl/mandelbrot.c')
-rw-r--r--progs/glsl/mandelbrot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/glsl/mandelbrot.c b/progs/glsl/mandelbrot.c
index 38dffc3e741..09c65d2c2b7 100644
--- a/progs/glsl/mandelbrot.c
+++ b/progs/glsl/mandelbrot.c
@@ -159,7 +159,8 @@ Init(void)
glUseProgram(program);
- InitUniforms(program, Uniforms);
+ SetUniformValues(program, Uniforms);
+ PrintUniforms(Uniforms);
uZoom = glGetUniformLocation(program, "Zoom");
uXcenter = glGetUniformLocation(program, "Xcenter");