summaryrefslogtreecommitdiffstats
path: root/progs/glsl/vert-tex.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-12 17:25:49 -0600
committerBrian Paul <[email protected]>2009-08-12 17:28:45 -0600
commitfdfb0d4b0e04bff2f3dbae2d1f8e3765fb4b0dce (patch)
tree4988e4af1cd8fc6d439ca11fd7eda05bad2feaee /progs/glsl/vert-tex.c
parentaf3d7f68894b00a750fa2be72935ab95b5b50d28 (diff)
progs/glsl: change uniform_info::type field to use GLSL vector types
Diffstat (limited to 'progs/glsl/vert-tex.c')
-rw-r--r--progs/glsl/vert-tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/vert-tex.c b/progs/glsl/vert-tex.c
index e791a5759a7..4c8bfa587aa 100644
--- a/progs/glsl/vert-tex.c
+++ b/progs/glsl/vert-tex.c
@@ -43,7 +43,7 @@ static GLfloat xRot = -70.0f, yRot = 0.0f, zRot = 0.0f;
/* value[0] = tex unit */
static struct uniform_info Uniforms[] = {
- { "tex1", 1, GL_INT, { 0, 0, 0, 0 }, -1 },
+ { "tex1", 1, GL_SAMPLER_2D, { 0, 0, 0, 0 }, -1 },
END_OF_UNIFORMS
};