Sfoglia il codice sorgente

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.
Yuri Kunde Schlesner 10 anni fa
parent
commit
015d7b9779
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/video_core/renderer_base.cpp

+ 1 - 0
src/video_core/renderer_base.cpp

@@ -24,5 +24,6 @@ void RendererBase::RefreshRasterizerSetting() {
             rasterizer = Common::make_unique<VideoCore::SWRasterizer>();
         }
         rasterizer->InitObjects();
+        rasterizer->Reset();
     }
 }