summaryrefslogtreecommitdiff
path: root/test/render-trapezoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/render-trapezoid.c')
-rw-r--r--test/render-trapezoid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/render-trapezoid.c b/test/render-trapezoid.c
index f7fd5bbf..811d9093 100644
--- a/test/render-trapezoid.c
+++ b/test/render-trapezoid.c
@@ -414,11 +414,7 @@ int main(int argc, char **argv)
test_init(&test, argc, argv);
for (i = 0; i <= DEFAULT_ITERATIONS; i++) {
- int reps = 1 << i;
- int sets = 1 << (12 - i);
-
- if (sets < 2)
- sets = 2;
+ int reps = REPS(i), sets = SETS(i);
for (target = TARGET_FIRST; target <= TARGET_LAST; target++) {
pixel_tests(&test, reps, sets, target);