diff options
author | Brian Paul <[email protected]> | 2009-08-12 17:25:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-12 17:28:45 -0600 |
commit | fdfb0d4b0e04bff2f3dbae2d1f8e3765fb4b0dce (patch) | |
tree | 4988e4af1cd8fc6d439ca11fd7eda05bad2feaee /progs/util/shaderutil.h | |
parent | af3d7f68894b00a750fa2be72935ab95b5b50d28 (diff) |
progs/glsl: change uniform_info::type field to use GLSL vector types
Diffstat (limited to 'progs/util/shaderutil.h')
-rw-r--r-- | progs/util/shaderutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/util/shaderutil.h b/progs/util/shaderutil.h index 22dc4dc4319..0a6be026759 100644 --- a/progs/util/shaderutil.h +++ b/progs/util/shaderutil.h @@ -7,7 +7,7 @@ struct uniform_info { const char *name; GLuint size; /**< number of value[] elements: 1, 2, 3 or 4 */ - GLenum type; /**< GL_FLOAT or GL_INT */ + GLenum type; /**< GL_FLOAT, GL_FLOAT_VEC4, GL_INT, etc */ GLfloat value[4]; GLint location; /**< filled in by InitUniforms() */ }; @@ -19,7 +19,7 @@ struct attrib_info { const char *name; GLuint size; /**< number of value[] elements: 1, 2, 3 or 4 */ - GLenum type; /**< GL_FLOAT or GL_INT */ + GLenum type; /**< GL_FLOAT, GL_FLOAT_VEC4, GL_INT, etc */ GLint location; }; |