mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
rsx:🧵 disable all vertex data at end command
Fixed OpenGL program attributes cache flush
This commit is contained in:
parent
6d99516489
commit
37a3800597
4 changed files with 42 additions and 14 deletions
|
@ -819,7 +819,7 @@ namespace rsx
|
|||
|
||||
auto &data = vertex_arrays[index];
|
||||
|
||||
if (info.frequency)
|
||||
if (info.frequency > 1)
|
||||
{
|
||||
LOG_ERROR(RSX, "%s: frequency is not null (%d, index=%d)", __FUNCTION__, info.frequency, index);
|
||||
}
|
||||
|
@ -916,6 +916,10 @@ namespace rsx
|
|||
for (auto &vertex_array : vertex_arrays)
|
||||
vertex_array.clear();
|
||||
|
||||
//disable all vertex data
|
||||
for (auto &vertex_info : vertex_arrays_info)
|
||||
vertex_info.size = 0;
|
||||
|
||||
transform_constants.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue