Rename previous/next to previousAction/nextAction in ActionDescription

* swig internally creates 'next' member which we normally want to avoid, so
  prevent shadowing here by using a distinct name.
This commit is contained in:
baldurk
2026-08-13 17:46:47 +01:00
parent 40945e6e8a
commit 950568fb8f
75 changed files with 226 additions and 226 deletions
+3 -3
View File
@@ -2026,7 +2026,7 @@ void CombineUsageEvents(ICaptureContext &ctx, const rdcarray<EventUsage> &usage,
// if the usage is different from the last, add a new entry,
// or if the previous action link is broken.
if(u.usage != us || action == NULL || action->previous == 0 ||
if(u.usage != us || action == NULL || action->previousAction == 0 ||
(splitByMarker && (parentEID != newParentEID)))
{
distinct = true;
@@ -2037,7 +2037,7 @@ void CombineUsageEvents(ICaptureContext &ctx, const rdcarray<EventUsage> &usage,
// last event was where we were - otherwise it's a new
// distinct set of actions and should have a separate
// entry in the context menu
const ActionDescription *prev = action->previous;
const ActionDescription *prev = action->previousAction;
while(prev != NULL && prev->eventId > end)
{
@@ -2054,7 +2054,7 @@ void CombineUsageEvents(ICaptureContext &ctx, const rdcarray<EventUsage> &usage,
if(!(prev->flags & (ActionFlags::Dispatch | ActionFlags::MeshDispatch |
ActionFlags::Drawcall | ActionFlags::CmdList)))
{
prev = prev->previous;
prev = prev->previousAction;
}
else
{