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…
Reference in New Issue