summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-03-17 01:09:06 +0100
committerspycrab <spycrab@users.noreply.github.com>2019-03-23 20:13:24 +0100
commit7cfb626a834cdc065e56e529bbed81df755a7c09 (patch)
treee547c145eed01129174d122852960f9f29b51c6f /Source/Core/VideoCommon/RenderBase.cpp
parent8cfbbbe9dc49186b40d5c2a3edc0e7e6d7059191 (diff)
Add imgui-based Netplay Chat
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp4
1 files changed, 4 insertions, 0 deletions
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();
}