From bb3ea102ca6b8aa843a10607fa140f5694cc4898 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 19 Nov 2013 09:47:15 +0000 Subject: test: Fix compilation of render-trapezoid-image Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71768 Signed-off-by: Chris Wilson --- test/basic-copyarea.c | 3 +-- test/basic-fillrect.c | 3 +-- test/basic-putimage.c | 3 +-- test/render-trapezoid-image.c | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/basic-copyarea.c b/test/basic-copyarea.c index 8b64199d..d4ae0d17 100644 --- a/test/basic-copyarea.c +++ b/test/basic-copyarea.c @@ -282,8 +282,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i); - int sets = SETS(i); + int reps = REPS(i), sets = SETS(i); enum target t; for (t = TARGET_FIRST; t <= TARGET_LAST; t++) { diff --git a/test/basic-fillrect.c b/test/basic-fillrect.c index 186604ce..a2aeec8f 100644 --- a/test/basic-fillrect.c +++ b/test/basic-fillrect.c @@ -246,8 +246,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i); - int sets = SETS(i); + int reps = REPS(i), sets = SETS(i); enum target t; for (t = TARGET_FIRST; t <= TARGET_LAST; t++) { diff --git a/test/basic-putimage.c b/test/basic-putimage.c index 10053bc4..d5704177 100644 --- a/test/basic-putimage.c +++ b/test/basic-putimage.c @@ -262,8 +262,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i); - int sets = SETS(i); + int reps = REPS(i), sets = SETS(i); enum target t; for (t = TARGET_FIRST; t <= TARGET_LAST; t++) { diff --git a/test/render-trapezoid-image.c b/test/render-trapezoid-image.c index c25661d1..ecca7097 100644 --- a/test/render-trapezoid-image.c +++ b/test/render-trapezoid-image.c @@ -585,7 +585,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i), SETS(i); + int reps = REPS(i), sets = SETS(i); for (target = TARGET_FIRST; target <= TARGET_LAST; target++) { pixel_tests(&test, reps, sets, target, 0); -- cgit v1.2.3