HostDisplay: Move imgui context creation to base class
This commit is contained in:
@@ -72,8 +72,11 @@ protected:
|
||||
virtual bool CreateResources() override;
|
||||
virtual void DestroyResources() override;
|
||||
|
||||
virtual bool CreateImGuiContext();
|
||||
virtual void DestroyImGuiContext();
|
||||
#ifdef WITH_IMGUI
|
||||
virtual bool CreateImGuiContext() override;
|
||||
virtual void DestroyImGuiContext() override;
|
||||
virtual bool UpdateImGuiFontTexture() override;
|
||||
#endif
|
||||
|
||||
void RenderDisplay();
|
||||
void RenderImGui();
|
||||
|
||||
Reference in New Issue
Block a user