1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

rsx: properly check for inlined array before discarding draw (#1877)

This commit is contained in:
kd-11 2016-07-09 17:54:44 +03:00 committed by raven02
parent dfa968863a
commit 6705a6ecc9

View File

@ -250,7 +250,7 @@ namespace rsx
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();
}