mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 04:25:19 +00:00
rsx: Fix initial boolean state of m_textures_dirty and m_vertex_textures_dirty
This commit is contained in:
parent
28e9cade2c
commit
f3877d11e8
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue