mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-20 05:26:42 +00:00
Handled typed pointers with bare scalar types not structs
This commit is contained in:
@@ -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