mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
RenderBase: Add call to IMGUI_CHECKVERSION()
This commit is contained in:
parent
e58cf36ca1
commit
30a34d06c1
@ -971,6 +971,11 @@ void Renderer::RecordVideoMemory()
|
|||||||
|
|
||||||
bool Renderer::InitializeImGui()
|
bool Renderer::InitializeImGui()
|
||||||
{
|
{
|
||||||
|
if (!IMGUI_CHECKVERSION())
|
||||||
|
{
|
||||||
|
PanicAlertFmt("ImGui version check failed");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!ImGui::CreateContext())
|
if (!ImGui::CreateContext())
|
||||||
{
|
{
|
||||||
PanicAlertFmt("Creating ImGui context failed");
|
PanicAlertFmt("Creating ImGui context failed");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user