perf: Compile fix, add the index to cairo_perf_report_load()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-11-18 10:04:12 +00:00
parent 2283ab9698
commit 9ecc3aafca
2 changed files with 2 additions and 2 deletions

View file

@ -576,7 +576,7 @@ main (int argc,
reports = xmalloc ((argc-1) * sizeof (cairo_perf_report_t));
for (i = 1; i < argc; i++ )
cairo_perf_report_load (&reports[i-1], argv[i], NULL);
cairo_perf_report_load (&reports[i-1], argv[i], i, NULL);
cases = test_cases_from_reports (reports, argc-1);

View file

@ -65,7 +65,7 @@ main (int argc,
for (i = 1; i < argc; i++ ) {
cairo_perf_report_t report;
cairo_perf_report_load (&report, argv[i], NULL);
cairo_perf_report_load (&report, argv[i], i, NULL);
report_print (&report);
}