mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 14:37:56 -05:00
VideoCore: Unify interface to OpenGL and SW rasterizers
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
This commit is contained in:
@ -46,10 +46,8 @@ void DebugContext::OnEvent(Event event, void* data) {
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(breakpoint_mutex);
|
||||
|
||||
if (Settings::values.use_hw_renderer) {
|
||||
// Commit the hardware renderer's framebuffer so it will show on debug widgets
|
||||
VideoCore::g_renderer->hw_rasterizer->FlushFramebuffer();
|
||||
}
|
||||
// Commit the hardware renderer's framebuffer so it will show on debug widgets
|
||||
VideoCore::g_renderer->rasterizer->FlushFramebuffer();
|
||||
|
||||
// TODO: Should stop the CPU thread here once we multithread emulation.
|
||||
|
||||
|
Reference in New Issue
Block a user