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/util | |
parent | 378bff0eddf004d131a4c83194fb3e83492c4c37 (diff) |
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/util')
-rw-r--r-- | progs/util/shaderutil.c | 2 | ||||
-rw-r--r-- | progs/util/shaderutil.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/util/shaderutil.c b/progs/util/shaderutil.c index bd04ce5c6a..f057adf5c7 100644 --- a/progs/util/shaderutil.c +++ b/progs/util/shaderutil.c @@ -122,7 +122,7 @@ LinkShaders(GLuint vertShader, GLuint fragShader) void -InitUniforms(GLuint program, struct uniform_info uniforms[]) +SetUniformValues(GLuint program, struct uniform_info uniforms[]) { GLuint i; diff --git a/progs/util/shaderutil.h b/progs/util/shaderutil.h index 607ed28491..22dc4dc431 100644 --- a/progs/util/shaderutil.h +++ b/progs/util/shaderutil.h @@ -37,7 +37,7 @@ extern GLuint LinkShaders(GLuint vertShader, GLuint fragShader); extern void -InitUniforms(GLuint program, struct uniform_info uniforms[]); +SetUniformValues(GLuint program, struct uniform_info uniforms[]); extern GLuint GetUniforms(GLuint program, struct uniform_info uniforms[]); |