mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 16:05:56 +00:00
rsx: Fix graphics state foot-gun
This commit is contained in:
parent
52b67b46fc
commit
6adcabda29
11 changed files with 150 additions and 67 deletions
|
|
@ -409,11 +409,11 @@ void GLGSRender::flip(const rsx::display_flip_info_t& info)
|
|||
return false;
|
||||
});
|
||||
|
||||
if (m_draw_fbo && !m_rtts_dirty)
|
||||
if (m_draw_fbo && !m_graphics_state.test(rsx::rtt_config_dirty))
|
||||
{
|
||||
// Always restore the active framebuffer
|
||||
m_draw_fbo->bind();
|
||||
set_viewport();
|
||||
set_scissor(!!(m_graphics_state & rsx::pipeline_state::scissor_setup_clipped));
|
||||
set_scissor(m_graphics_state & rsx::pipeline_state::scissor_setup_clipped);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue