From c3eccf51d18b177854ab930101be80729e33eaf3 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 3 Oct 2022 23:47:24 +1000 Subject: [PATCH] OpenGLHostDisplay: Fix post-processing with GLES --- src/frontend-common/opengl_host_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/opengl_host_display.cpp b/src/frontend-common/opengl_host_display.cpp index 0a7525ab0..ff31b4df9 100644 --- a/src/frontend-common/opengl_host_display.cpp +++ b/src/frontend-common/opengl_host_display.cpp @@ -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++) {