mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
rsx: initialize vertex textures on reset
This commit is contained in:
parent
3ac9e0933f
commit
8912b9880e
3 changed files with 7 additions and 29 deletions
|
@ -624,13 +624,20 @@ namespace rsx
|
|||
|
||||
// Reset vertex attrib array
|
||||
for (int i = 0; i < limits::vertex_count; i++)
|
||||
{
|
||||
vertex_arrays_info[i].size = 0;
|
||||
}
|
||||
|
||||
// Construct Textures
|
||||
for (int i = 0; i < limits::textures_count; i++)
|
||||
{
|
||||
textures[i].init(i);
|
||||
}
|
||||
|
||||
for (int i = 0; i < limits::vertex_textures_count; i++)
|
||||
{
|
||||
vertex_textures[i].init(i);
|
||||
}
|
||||
}
|
||||
|
||||
void thread::init(const u32 ioAddress, const u32 ioSize, const u32 ctrlAddress, const u32 localAddress)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue