mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-14 18:46:48 +00:00
Check for @ when initialising rich resource text
* This is used for event linking
This commit is contained in:
@@ -401,7 +401,8 @@ void RichResourceTextInitialise(QVariant &var, ICaptureContext *ctx)
|
||||
QString text = var.toString().trimmed();
|
||||
|
||||
// do a simple string search first before using regular expressions
|
||||
if(!text.contains(lit("ResourceId::")) && !text.contains(lit("GPUAddress::")))
|
||||
if(!text.contains(lit("ResourceId::")) && !text.contains(lit("GPUAddress::")) &&
|
||||
!text.contains(QLatin1Char('@')))
|
||||
return;
|
||||
|
||||
// two forms: GPUAddress::012345 - typeless
|
||||
|
||||
Reference in New Issue
Block a user