RSX: fix new warnings

This commit is contained in:
Nekotekina 2020-04-30 22:42:30 +03:00
parent 31035608ee
commit cda8b3a59e
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;