OpenGL: Fix push constants disappearing on pipeline change

This commit is contained in:
Corentin Wallez
2017-08-14 16:25:26 -04:00
committed by Corentin Wallez
parent 3ef4121d4e
commit a214b7f12d
2 changed files with 77 additions and 29 deletions

View File

@@ -59,7 +59,6 @@ namespace opengl {
auto depthStencilState = ToBackend(GetDepthStencilState());
depthStencilState->ApplyNow(persistentPipelineState);
RenderPass* renderPass = ToBackend(GetRenderPass());
auto& subpassInfo = renderPass->GetSubpassInfo(GetSubPass());