mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-07 07:11:06 +00:00
Rename 'name' member of ActionDescription to 'customName'
* This is a deliberate break of compatibility since the field is now often empty, for non-markers. This means code will get a more explicit error when the name is being referenced, so it can be updated to fetch the name it needs as needed.
This commit is contained in:
@@ -50,12 +50,12 @@ public:
|
||||
ActionDescription &action = m_FrameRecord.actionList[0];
|
||||
action.actionId = 1;
|
||||
action.eventId = 1;
|
||||
action.name = get_basename(filename);
|
||||
action.customName = get_basename(filename);
|
||||
APIEvent ev;
|
||||
ev.eventId = 1;
|
||||
action.events.push_back(ev);
|
||||
|
||||
SDChunk *chunk = new SDChunk(action.name);
|
||||
SDChunk *chunk = new SDChunk(action.customName);
|
||||
chunk->AddAndOwnChild(makeSDString("path"_lit, filename));
|
||||
|
||||
m_File.chunks.push_back(chunk);
|
||||
|
||||
Reference in New Issue
Block a user