[renderer] Report scrap rectangle counts

Stats are good. More stats even better :) I wanted to see just how many
lightmaps were being created in e1m3.
This commit is contained in:
Bill Currie 2022-09-20 19:30:43 +09:00
parent 398405c8d6
commit 1fdedbaf33
4 changed files with 15 additions and 8 deletions

View file

@ -43,7 +43,7 @@ void R_ScrapDelete (rscrap_t *scrap);
struct vrect_s *R_ScrapAlloc (rscrap_t *scrap, int width, int height);
void R_ScrapFree (rscrap_t *scrap, struct vrect_s *rect);
void R_ScrapClear (rscrap_t *scrap);
size_t R_ScrapArea (rscrap_t *scrap) __attribute__((pure));
size_t R_ScrapArea (rscrap_t *scrap, int *count) __attribute__((pure));
void R_ScrapDump (rscrap_t *scrap);
#endif//__r_scrap_h