diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-10-22 20:11:52 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-10-22 20:18:02 -0500 |
| commit | 1e9b6f88e4c13722a2a47aeb0d54df95c3a07c69 (patch) | |
| tree | bf8c27b82ea4af3ef3ac4ad1b1630eafd2fc01f5 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 3912fa7a2ed8ce80d01edb86b5a421bf53ff69ee (diff) | |
VideoCommon: Support hot reloading of VS expand
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index f8e4970a51..273f67c746 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -826,6 +826,12 @@ void VertexManagerBase::UpdatePipelineObject() } } +void VertexManagerBase::OnConfigChange() +{ + // Reload index generator function tables in case VS expand config changed + m_index_generator.Init(); +} + void VertexManagerBase::OnDraw() { m_draw_counter++; |
