mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-06 14:04:04 +00:00
Handled typed pointers with bare scalar types not structs
This commit is contained in:
1 file changed
+4
@@ -1111,6 +1111,10 @@ bool RichResourceTextMouseEvent(const QWidget *owner, const QVariant &var, QRect
|
||||
formatter = BufferFormatter::DeclareStruct(pack, ResourceId(), ptrType.name,
|
||||
ptrType.members, ptrType.arrayByteStride);
|
||||
}
|
||||
else if(!ptrType.name.empty() && ptrType.name[0] != '<')
|
||||
{
|
||||
formatter = ptrType.name;
|
||||
}
|
||||
|
||||
IBufferViewer *view = ctx.ViewBuffer(ptr->offset, ~0ULL, ptr->base, formatter);
|
||||
|
||||
|
||||
Reference in new issue
Block a user