mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-03 13:40:31 +01:00
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:
parent
2283ab9698
commit
9ecc3aafca
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue