Renderer: Use imgui for drawing debug text and OSD

This commit is contained in:
Stenzek committed 2019-01-25 11:15:57 +10:00
1 parent d1868d9475
commit 600d1fc0bc
13 files changed
+268 -324

No files matched your search

@@ -97,13 +97,8 @@ std::unique_ptr<AbstractPipeline> SWRenderer::CreatePipeline(const AbstractPipel
// Called on the GPU thread
void SWRenderer::SwapImpl(AbstractTexture* texture, const EFBRectangle& xfb_region, u64 ticks)
{
OSD::DoCallbacks(OSD::CallbackType::OnFrame);
if (!IsHeadless())
{
DrawDebugText();
m_window->ShowImage(texture, xfb_region);
}
UpdateActiveConfig();
}