From 7cfb626a834cdc065e56e529bbed81df755a7c09 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sun, 17 Mar 2019 01:09:06 +0100 Subject: Add imgui-based Netplay Chat --- Source/Core/VideoCommon/RenderBase.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/VideoCommon/RenderBase.cpp') diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index ba56d9fc7f..1a15f0aec0 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -57,6 +57,7 @@ #include "VideoCommon/FPSCounter.h" #include "VideoCommon/FramebufferManager.h" #include "VideoCommon/ImageWrite.h" +#include "VideoCommon/NetPlayChatUI.h" #include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/PixelShaderManager.h" @@ -523,6 +524,9 @@ void Renderer::DrawDebugText() if (g_ActiveConfig.bOverlayStats) Statistics::Display(); + if (g_ActiveConfig.bShowNetPlayMessages && g_netplay_chat_ui) + g_netplay_chat_ui->Display(); + if (g_ActiveConfig.bOverlayProjStats) Statistics::DisplayProj(); } -- cgit v1.2.3