diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-12 13:53:56 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-12 17:28:45 -0600 |
commit | 684049d97d423a5a873aefc5313d0c4b22528b95 (patch) | |
tree | 2971be3a76aa280a053801ea5f7b63f0af324824 /progs/glsl/mandelbrot.c | |
parent | 378bff0eddf004d131a4c83194fb3e83492c4c37 (diff) | |
download | external_mesa3d-684049d97d423a5a873aefc5313d0c4b22528b95.zip external_mesa3d-684049d97d423a5a873aefc5313d0c4b22528b95.tar.gz external_mesa3d-684049d97d423a5a873aefc5313d0c4b22528b95.tar.bz2 |
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/glsl/mandelbrot.c')
-rw-r--r-- | progs/glsl/mandelbrot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/glsl/mandelbrot.c b/progs/glsl/mandelbrot.c index 38dffc3..09c65d2 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"); |