Make sure pipeline is rebound after level mesh drawing

This commit is contained in:
Magnus Norddahl 2023-12-13 00:42:11 +01:00
commit 4633029a74

View file

@ -925,6 +925,7 @@ void VkRenderState::DrawLevelMeshRange(VulkanCommandBuffer* cmdbuffer, VkPipelin
pipelineKey.StencilPassOp = mStencilOp;
pipelineKey.ColorMask = mColorMask;
pipelineKey.CullMode = mCullMode;
mPipelineKey = pipelineKey;
PushConstants pushConstants = {};
pushConstants.uDataIndex = 0;