mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-28 05:00:22 -04:00
VideoCommon: don't do pointer copies during graphics mod callback iteration
This commit is contained in:
@@ -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