From efe6a6cf53540309f059907aae7f765d3c0a1eda Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 23 Jan 2018 22:16:46 -0600 Subject: [PATCH] rsx: fixed emulated primitive restart --- rpcs3/Emu/RSX/rsx_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/rsx_utils.h b/rpcs3/Emu/RSX/rsx_utils.h index a47b6122ac..7faf46b265 100644 --- a/rpcs3/Emu/RSX/rsx_utils.h +++ b/rpcs3/Emu/RSX/rsx_utils.h @@ -299,7 +299,7 @@ namespace rsx for (int i = 0; i < index_count; ++i) { - if (indices[i] == UINT16_MAX) + if (indices[i] == restart_index) { if (last_start >= 0) {