mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-28 06:31:03 +00:00
Fix tool y offset for custom pool blocks
This commit is contained in:
parent
2d7d710944
commit
ac6a7bd850
@ -306,7 +306,7 @@ if __name__ == '__main__':
|
|||||||
draw.text((IMG_MARGIN, y), "Custom pool %s block %s" % (poolName, block['ID']), fill=COLOR_TEXT_H2, font=font)
|
draw.text((IMG_MARGIN, y), "Custom pool %s block %s" % (poolName, block['ID']), fill=COLOR_TEXT_H2, font=font)
|
||||||
y += FONT_SIZE + IMG_MARGIN
|
y += FONT_SIZE + IMG_MARGIN
|
||||||
DrawBlock(draw, y, block, pixelsPerByte)
|
DrawBlock(draw, y, block, pixelsPerByte)
|
||||||
y += 2 * (FONT_SIZE + IMG_MARGIN)
|
y += MAP_SIZE + IMG_MARGIN
|
||||||
index = 0
|
index = 0
|
||||||
for dedicatedAlloc in pool['DedicatedAllocations']:
|
for dedicatedAlloc in pool['DedicatedAllocations']:
|
||||||
draw.text((IMG_MARGIN, y), "Custom pool %s dedicated allocation %d" % (poolName, index), fill=COLOR_TEXT_H2, font=font)
|
draw.text((IMG_MARGIN, y), "Custom pool %s dedicated allocation %d" % (poolName, index), fill=COLOR_TEXT_H2, font=font)
|
||||||
|
Loading…
Reference in New Issue
Block a user