summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-11-19 09:47:15 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-11-19 09:47:15 +0000
commitbb3ea102ca6b8aa843a10607fa140f5694cc4898 (patch)
tree5e5b16b0387907b4e6f7149c81155ad831d083d3
parent12f4c48d39b939a3a26a1504910b5f16ee6c86b8 (diff)
test: Fix compilation of render-trapezoid-image
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71768 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--test/basic-copyarea.c3
-rw-r--r--test/basic-fillrect.c3
-rw-r--r--test/basic-putimage.c3
-rw-r--r--test/render-trapezoid-image.c2
4 files changed, 4 insertions, 7 deletions
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);