VideoCommon/PixelEngine: Passthrough system instance in constructor

Simplifies the interface in terms of usage
This commit is contained in:
Lioncache
2023-12-22 13:54:24 -05:00
parent b1438c224f
commit e539dbba4c
5 changed files with 34 additions and 27 deletions

View File

@ -380,7 +380,7 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx,
auto& command_processor = system.GetCommandProcessor();
command_processor.Init();
system.GetFifo().Init();
system.GetPixelEngine().Init(system);
system.GetPixelEngine().Init();
BPInit();
VertexLoaderManager::Init();
system.GetVertexShaderManager().Init();