From 015d7b9779f712b7dbb5ed9afea340bc5ff56c8f Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sun, 20 Dec 2015 17:37:15 -0800 Subject: VideoCore: Sync state after changing rasterizers This fixes various bugs that appear in the HW rasterizer after switching between it and the SW one during emulation. --- src/video_core/renderer_base.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video_core/renderer_base.cpp b/src/video_core/renderer_base.cpp index 93e980216..6467ff723 100644 --- a/src/video_core/renderer_base.cpp +++ b/src/video_core/renderer_base.cpp @@ -24,5 +24,6 @@ void RendererBase::RefreshRasterizerSetting() { rasterizer = Common::make_unique(); } rasterizer->InitObjects(); + rasterizer->Reset(); } } -- cgit v1.2.3