Skip to content

Commit a07cc58

Browse files
Merge pull request #37 from rbertin-aso/master
Fix tool y offset for custom pool blocks
2 parents 2d7d710 + ac6a7bd commit a07cc58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/GpuMemDumpVis/GpuMemDumpVis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def DrawDedicatedAllocationBlock(draw, y, dedicatedAlloc, pixelsPerByte):
306306
draw.text((IMG_MARGIN, y), "Custom pool %s block %s" % (poolName, block['ID']), fill=COLOR_TEXT_H2, font=font)
307307
y += FONT_SIZE + IMG_MARGIN
308308
DrawBlock(draw, y, block, pixelsPerByte)
309-
y += 2 * (FONT_SIZE + IMG_MARGIN)
309+
y += MAP_SIZE + IMG_MARGIN
310310
index = 0
311311
for dedicatedAlloc in pool['DedicatedAllocations']:
312312
draw.text((IMG_MARGIN, y), "Custom pool %s dedicated allocation %d" % (poolName, index), fill=COLOR_TEXT_H2, font=font)

0 commit comments

Comments
 (0)