diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-30 05:01:05 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-01-31 19:41:24 +1300 |
| commit | ca5ec13e138d60d2fbac114450527c654caed702 (patch) | |
| tree | 6451afd8815b451f31aa058ab3a5c1cd4078c19b /Source/Core/VideoCommon/VertexShaderManager.cpp | |
| parent | 55d15bdd6ea04c0f0862a1a23dc4859b3e30ad64 (diff) | |
Move GraphicsMod out of RenderBase
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index deda07fd65..3779051b6b 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -22,6 +22,7 @@ #include "VideoCommon/CPMemory.h" #include "VideoCommon/FreeLookCamera.h" #include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h" +#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.h" #include "VideoCommon/RenderBase.h" #include "VideoCommon/Statistics.h" #include "VideoCommon/VertexLoaderManager.h" @@ -387,14 +388,14 @@ void VertexShaderManager::SetConstants(const std::vector<std::string>& textures) if (g_ActiveConfig.bGraphicMods) { for (const auto action : - g_renderer->GetGraphicsModManager().GetProjectionActions(xfmem.projection.type)) + g_graphics_mod_manager->GetProjectionActions(xfmem.projection.type)) { projection_actions.push_back(action); } for (const auto& texture : textures) { - for (const auto action : g_renderer->GetGraphicsModManager().GetProjectionTextureActions( + for (const auto action : g_graphics_mod_manager->GetProjectionTextureActions( xfmem.projection.type, texture)) { projection_actions.push_back(action); |
