mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 21:40:41 +00:00
Fix natvis display for heap-allocated rdcstr capacity
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<DisplayString>Heap-allocated String</DisplayString>
|
||||
</Synthetic>
|
||||
<Item Name="[size]" ExcludeView="simple" Condition="d.fixed.flags & rdcstr::ALLOC_STATE">d.alloc.size</Item>
|
||||
<Item Name="[capacity]" ExcludeView="simple" Condition="d.fixed.flags & rdcstr::ALLOC_STATE">d.alloc._capacity</Item>
|
||||
<Item Name="[capacity]" ExcludeView="simple" Condition="d.fixed.flags & rdcstr::ALLOC_STATE">d.alloc._capacity & rdcstr::alloc_ptr_rep::CAPACITY_MASK</Item>
|
||||
<ArrayItems Condition="d.fixed.flags & rdcstr::ALLOC_STATE">
|
||||
<Size>d.alloc.size</Size>
|
||||
<ValuePointer>d.alloc.str</ValuePointer>
|
||||
|
||||
Reference in New Issue
Block a user