mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
rsx: properly check for inlined array before discarding draw (#1877)
This commit is contained in:
parent
dfa968863a
commit
6705a6ecc9
@ -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…
x
Reference in New Issue
Block a user