mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 18:55:41 +00:00
fixed problem of textures being disabled after every end command
This commit is contained in:
parent
bff084c233
commit
79c2654a8c
@ -1427,11 +1427,6 @@ void RSXThread::End()
|
|||||||
//Emu.GetCallbackManager().m_exit_callback.Handle(0x0122, 0);
|
//Emu.GetCallbackManager().m_exit_callback.Handle(0x0122, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(uint i=0; i<m_textures_count; ++i)
|
|
||||||
{
|
|
||||||
m_textures[i].m_enabled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_indexed_array.Reset();
|
m_indexed_array.Reset();
|
||||||
m_fragment_constants.Clear();
|
m_fragment_constants.Clear();
|
||||||
m_transform_constants.Clear();
|
m_transform_constants.Clear();
|
||||||
|
@ -617,6 +617,11 @@ protected:
|
|||||||
|
|
||||||
m_clear_surface_mask = 0;
|
m_clear_surface_mask = 0;
|
||||||
m_begin_end = 0;
|
m_begin_end = 0;
|
||||||
|
|
||||||
|
for(uint i=0; i<m_textures_count; ++i)
|
||||||
|
{
|
||||||
|
m_textures[i].m_enabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Begin(u32 draw_mode);
|
void Begin(u32 draw_mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user