Rework the analysis cmd option to work with new statistics functions

This commit is contained in:
2022-04-17 20:07:57 +02:00
parent c0ac6cc3c5
commit c2ca2ff573
2 changed files with 68 additions and 58 deletions

View File

@@ -284,8 +284,9 @@ static GList *append_library(GList *curr_list, const struct gds_library_parsing_
lib->stats.gfx_count = 0;
lib->stats.reference_count = 0;
lib->stats.vertex_count = 0;
} else
} else {
return NULL;
}
if (library_ptr)
*library_ptr = lib;