diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-01-16 19:15:26 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-03-25 10:24:07 -0700 |
| commit | 30a34d06c18bf0d41ae10a3c62a30ac2dbda5dd7 (patch) | |
| tree | 1e8e7825f03aed2ba7b4a746a88cbe232ab7faf0 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | e58cf36ca1cb9997c716cb92d1dae94610ddce18 (diff) | |
RenderBase: Add call to IMGUI_CHECKVERSION()
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index bdd585135b..861c69d985 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -971,6 +971,11 @@ void Renderer::RecordVideoMemory() bool Renderer::InitializeImGui() { + if (!IMGUI_CHECKVERSION()) + { + PanicAlertFmt("ImGui version check failed"); + return false; + } if (!ImGui::CreateContext()) { PanicAlertFmt("Creating ImGui context failed"); |
