From 75fc32edfdbf7240a7458ef5cc761bc0bc063eea Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Fri, 13 Jan 2017 11:13:06 +0000 Subject: tests/shader_api: Avoid unused variable warning. Trvial. --- src/tests/shader_api.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3