VideoCommon: don't do pointer copies during graphics mod callback iteration
This commit is contained in:
1 parent
6d7bf60071
commit
a2ad3ca6f7
3 files changed
+7
-7
No files matched your search
@@ -566,7 +566,7 @@ void VertexManagerBase::Flush()
|
||||
{
|
||||
bool skip = false;
|
||||
GraphicsModActionData::DrawStarted draw_started{&skip};
|
||||
for (const auto action : g_graphics_mod_manager->GetDrawStartedActions(texture_name))
|
||||
for (const auto& action : g_graphics_mod_manager->GetDrawStartedActions(texture_name))
|
||||
{
|
||||
action->OnDrawStarted(&draw_started);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user