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/glsl/noise.c | |
parent | af3d7f68894b00a750fa2be72935ab95b5b50d28 (diff) |
progs/glsl: change uniform_info::type field to use GLSL vector types
Diffstat (limited to 'progs/glsl/noise.c')
-rw-r--r-- | progs/glsl/noise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c index 6ef2a80f78d..8c36e1c59b0 100644 --- a/progs/glsl/noise.c +++ b/progs/glsl/noise.c @@ -35,8 +35,8 @@ static const char *FragShaderText = static struct uniform_info Uniforms[] = { - { "Scale", 4, GL_FLOAT, { 0.5, 0.4, 0.0, 0}, -1 }, - { "Bias", 4, GL_FLOAT, { 0.5, 0.3, 0.0, 0}, -1 }, + { "Scale", 1, GL_FLOAT_VEC4, { 0.5, 0.4, 0.0, 0}, -1 }, + { "Bias", 1, GL_FLOAT_VEC4, { 0.5, 0.3, 0.0, 0}, -1 }, { "Slice", 1, GL_FLOAT, { 0.5, 0, 0, 0}, -1 }, END_OF_UNIFORMS }; |