mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
add transform to graphics mod action factory
This commit is contained in:
parent
5c26b876e2
commit
2b98be4e22
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.h"
|
||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h"
|
||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/SkipAction.h"
|
||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/TransformAction.h"
|
||||
|
||||
namespace GraphicsModActionFactory
|
||||
{
|
||||
|
@ -34,6 +35,10 @@ std::unique_ptr<GraphicsModAction> Create(std::string_view name, const picojson:
|
|||
{
|
||||
return CustomPipelineAction::Create(json_data, std::move(library));
|
||||
}
|
||||
else if (name == TransformAction::factory_name)
|
||||
{
|
||||
return TransformAction::Create(json_data);
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue