Move GraphicsMod out of RenderBase

This commit is contained in:
Scott Mansell committed 2023-01-31 19:41:24 +13:00
1 parent 55d15bdd6e
commit ca5ec13e13
8 files changed
+47 -45

No files matched your search

@@ -24,6 +24,7 @@
#include "VideoCommon/FramebufferManager.h"
#include "VideoCommon/GeometryShaderManager.h"
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h"
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.h"
#include "VideoCommon/IndexGenerator.h"
#include "VideoCommon/NativeVertexFormat.h"
#include "VideoCommon/OpcodeDecoding.h"
@@ -556,7 +557,7 @@ void VertexManagerBase::Flush()
bool skip = false;
GraphicsModActionData::DrawStarted draw_started{&skip};
for (const auto action :
g_renderer->GetGraphicsModManager().GetDrawStartedActions(texture_name))
g_graphics_mod_manager->GetDrawStartedActions(texture_name))
{
action->OnDrawStarted(&draw_started);
}