1
0
forked from mirrors/0ad

Switches from pipeline state descriptions to pipeline states.

Tested By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4850
This was SVN commit r27328.
This commit is contained in:
vladislavbelov
2022-12-31 18:29:44 +00:00
parent 0152c26b72
commit 4ed41d4a9a
48 changed files with 794 additions and 319 deletions
-3
View File
@@ -586,9 +586,6 @@ void ShadowMapInternals::CreateTexture()
void ShadowMap::BeginRender(
Renderer::Backend::IDeviceCommandContext* deviceCommandContext)
{
deviceCommandContext->SetGraphicsPipelineState(
Renderer::Backend::MakeDefaultGraphicsPipelineStateDesc());
ENSURE(m->Framebuffer);
deviceCommandContext->BeginFramebufferPass(m->Framebuffer.get());