From 6705a6ecc9a15191628ecd6f5a078b011c440f72 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 9 Jul 2016 17:54:44 +0300 Subject: [PATCH] rsx: properly check for inlined array before discarding draw (#1877) --- rpcs3/Emu/RSX/rsx_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index 8c356cd4a8..73c44552f7 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -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(); }