diff --git a/rpcs3/Emu/RSX/GL/GLGSRender.cpp b/rpcs3/Emu/RSX/GL/GLGSRender.cpp index 7a76859903..f8664c7b58 100644 --- a/rpcs3/Emu/RSX/GL/GLGSRender.cpp +++ b/rpcs3/Emu/RSX/GL/GLGSRender.cpp @@ -614,7 +614,7 @@ bool GLGSRender::load_program() { const auto shadermode = g_cfg.video.shadermode.get(); - if (m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits)) + if ((m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits))) { get_current_fragment_program(fs_sampler_state); verify(HERE), current_fragment_program.valid; diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index f9298e2806..551dc873fb 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -1431,7 +1431,7 @@ void VKGSRender::do_local_task(rsx::FIFO_state state) bool VKGSRender::load_program() { - if (m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits)) + if ((m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits))) { get_current_fragment_program(fs_sampler_state); verify(HERE), current_fragment_program.valid;