summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-01-13 11:13:06 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-01-18 13:28:20 +0000
commit75fc32edfdbf7240a7458ef5cc761bc0bc063eea (patch)
treeabfcb782a39f0315e1bee15a14dddd5f2b1813be
parent0f6acafa0a18fa6ea9e7b1824592f4b9afed1311 (diff)
tests/shader_api: Avoid unused variable warning.
Trvial.
-rw-r--r--src/tests/shader_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/shader_api.c b/src/tests/shader_api.c
index fa7741d1..dec7a20d 100644
--- a/src/tests/shader_api.c
+++ b/src/tests/shader_api.c
@@ -267,6 +267,7 @@ static void test_uniform_neg_location(void)
program = make_program("#version 110\nvoid main() { gl_Position = vec4(1.0, 1.0, 1.0, 1.0); }\n", NULL);
assert_no_error();
+ (void)program;
glUniform1i(-1, 1);
assert_no_error();
glUniform1i(-200, 1);