mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Dump allocated rects for glsl_scraps BLAH.
This commit is contained in:
parent
f658e6c32e
commit
8779755e9c
1 changed files with 5 additions and 0 deletions
|
@ -210,6 +210,11 @@ glsl_scraps_f (void)
|
|||
Sys_Printf ("tnum=%u size=%d format=%04x bpp=%d free=%d%%\n",
|
||||
scrap->tnum, scrap->size, scrap->format, scrap->bpp,
|
||||
area * 100 / (scrap->size * scrap->size));
|
||||
if (Cmd_Argc () > 1) {
|
||||
for (rect = scrap->rects, area = 0; rect; rect = rect->next)
|
||||
Sys_Printf ("%d %d %d %d\n", rect->x, rect->y,
|
||||
rect->width, rect->height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue