PostProcessing: fix link error when switching shaders

Switching to a post-processing shader with different configuration options will
change the UBO, so we need to recompile the vertex shader as well.
This commit is contained in:
Tillmann Karras 2021-07-18 04:03:26 +01:00
parent 6bf39dc6d6
commit c948d7f436
1 changed files with 2 additions and 0 deletions

View File

@ -400,6 +400,8 @@ void PostProcessing::RecompileShader()
m_pixel_shader.reset();
if (!CompilePixelShader())
return;
if (!CompileVertexShader())
return;
CompilePipeline();
}