OpenGLHostDisplay: Fix post-processing with GLES

This commit is contained in:
Connor McLaughlin 2022-10-03 23:47:24 +10:00
parent 8f39ad3555
commit c3eccf51d1

View file

@ -827,7 +827,7 @@ bool OpenGLHostDisplay::SetPostProcessingChain(const std::string_view& config)
m_post_processing_stages.clear();
FrontendCommon::PostProcessingShaderGen shadergen(RenderAPI::OpenGL, false);
FrontendCommon::PostProcessingShaderGen shadergen(GetRenderAPI(), false);
for (u32 i = 0; i < m_post_processing_chain.GetStageCount(); i++)
{