From c8806c93d56d7e3034d5070817d06e87cd844562 Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Sun, 17 Apr 2016 17:50:48 +0200 Subject: [PATCH] Pica: Reduce batching errors --- src/video_core/command_processor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 3abe79c09..8d8bb0157 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -409,6 +409,12 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) { range.second, range.first); } + VideoCore::g_renderer->Rasterizer()->DrawTriangles(); + + if (g_debug_context) { + g_debug_context->OnEvent(DebugContext::Event::FinishedPrimitiveBatch, nullptr); + } + break; }