mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
rsx: properly check for inlined array before discarding draw (#1877)
This commit is contained in:
parent
dfa968863a
commit
6705a6ecc9
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ namespace rsx
|
||||||
rsxthr->first_count_commands.push_back(std::make_pair(0, max_vertex_count));
|
rsxthr->first_count_commands.push_back(std::make_pair(0, max_vertex_count));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!rsxthr->vertex_draw_count)
|
if (!(rsxthr->first_count_commands.empty() && rsxthr->inline_vertex_array.empty()))
|
||||||
{
|
{
|
||||||
rsxthr->end();
|
rsxthr->end();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue