aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/command_classes/sync_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-27 03:02:39 -0400
committerLioncash <mathew1800@gmail.com>2020-10-27 03:22:57 -0400
commit047e77e2f0768775c765d8098ee8475018a06270 (patch)
tree0af25fb5d7aef5f439be5c4f88a39e5cc0b17b8d /src/video_core/command_classes/sync_manager.h
parentd33399e1f46a10490b586196c6d0db0f04be4206 (diff)
sync_manager: Amend parameter order of calls to SyncptIncr constructor
Corrects some cases where the arguments would be incorrectly swapped.
Diffstat (limited to 'src/video_core/command_classes/sync_manager.h')
-rw-r--r--src/video_core/command_classes/sync_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/sync_manager.h b/src/video_core/command_classes/sync_manager.h
index 353b67573..2c321ec58 100644
--- a/src/video_core/command_classes/sync_manager.h
+++ b/src/video_core/command_classes/sync_manager.h
@@ -32,8 +32,8 @@ struct SyncptIncr {
u32 syncpt_id;
bool complete;
- SyncptIncr(u32 id, u32 syncpt_id_, u32 class_id_, bool done = false)
- : id(id), class_id(class_id_), syncpt_id(syncpt_id_), complete(done) {}
+ SyncptIncr(u32 id_, u32 class_id_, u32 syncpt_id_, bool done = false)
+ : id(id_), class_id(class_id_), syncpt_id(syncpt_id_), complete(done) {}
};
class SyncptIncrManager {