1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-26 21:35:28 +01:00

Move drawing of wield tool into a dedicated step of the pipeline (#13338)

This commit is contained in:
x2048
2023-03-19 21:31:15 +01:00
committed by GitHub
parent 09342c0811
commit 6cd2eea487
6 changed files with 36 additions and 9 deletions

View File

@@ -73,6 +73,7 @@ void populateSideBySidePipeline(RenderPipeline *pipeline, Client *client, bool h
auto output = pipeline->createOwned<TextureBufferOutput>(buffer, right ? TEXTURE_RIGHT : TEXTURE_LEFT);
pipeline->addStep<SetRenderTargetStep>(step3D, output);
pipeline->addStep(step3D);
pipeline->addStep<DrawWield>();
pipeline->addStep<MapPostFxStep>();
pipeline->addStep<DrawHUD>();
}