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)); 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();
} }