diff --git a/renderdoc/renderdoc.natvis b/renderdoc/renderdoc.natvis
index acbbefcd0..f14621d0f 100644
--- a/renderdoc/renderdoc.natvis
+++ b/renderdoc/renderdoc.natvis
@@ -22,7 +22,7 @@
Heap-allocated String
- d.alloc.size
- - d.alloc._capacity
+ - d.alloc._capacity & rdcstr::alloc_ptr_rep::CAPACITY_MASK
d.alloc.size
d.alloc.str