summaryrefslogtreecommitdiffstats
path: root/progs/tests/floattex.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/floattex.c')
-rw-r--r--progs/tests/floattex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/floattex.c b/progs/tests/floattex.c
index ad14cacdcbb..39302ce3aff 100644
--- a/progs/tests/floattex.c
+++ b/progs/tests/floattex.c
@@ -33,7 +33,7 @@ static const char *VertShaderText =
"} \n";
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
};
@@ -189,7 +189,7 @@ CreateProgram(void)
glUseProgram_func(program);
- InitUniforms(program, Uniforms);
+ SetUniformValues(program, Uniforms);
return program;
}