mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-18 16:21:39 +00:00
RenderBase: Add call to IMGUI_CHECKVERSION()
This commit is contained in:
parent
e58cf36ca1
commit
30a34d06c1
1 changed files with 5 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue