rsx: Fix initial boolean state of m_textures_dirty and m_vertex_textures_dirty

This commit is contained in:
Eladash 2020-03-12 21:22:49 +02:00 committed by Megamouse
parent 28e9cade2c
commit f3877d11e8
2 changed files with 4 additions and 4 deletions

View File

@ -304,8 +304,8 @@ namespace rsx
};
m_rtts_dirty = true;
memset(m_textures_dirty, -1, sizeof(m_textures_dirty));
memset(m_vertex_textures_dirty, -1, sizeof(m_vertex_textures_dirty));
m_textures_dirty.fill(true);
m_vertex_textures_dirty.fill(true);
m_graphics_state = pipeline_state::all_dirty;

View File

@ -674,8 +674,8 @@ namespace rsx
u32 local_mem_size{0};
bool m_rtts_dirty;
bool m_textures_dirty[16];
bool m_vertex_textures_dirty[4];
std::array<bool, 16> m_textures_dirty;
std::array<bool, 4> m_vertex_textures_dirty;
bool m_framebuffer_state_contested = false;
rsx::framebuffer_creation_context m_current_framebuffer_context = rsx::framebuffer_creation_context::context_draw;