summaryrefslogtreecommitdiffstats
path: root/progs/util
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-12 13:53:56 -0600
committerBrian Paul <brianp@vmware.com>2009-08-12 17:28:45 -0600
commit684049d97d423a5a873aefc5313d0c4b22528b95 (patch)
tree2971be3a76aa280a053801ea5f7b63f0af324824 /progs/util
parent378bff0eddf004d131a4c83194fb3e83492c4c37 (diff)
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
Diffstat (limited to 'progs/util')
-rw-r--r--progs/util/shaderutil.c2
-rw-r--r--progs/util/shaderutil.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/util/shaderutil.c b/progs/util/shaderutil.c
index bd04ce5c6ad..f057adf5c73 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 607ed284915..22dc4dc4319 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[]);