diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-01-19 19:43:42 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-01-19 19:43:42 +0000 |
| commit | b3f3da20d768f84304a3d0d03870aa18904d942b (patch) | |
| tree | addc0e16c82003e4c6d8cda5baf8959f1d20da12 /Imgui/src/ImGuiImplDiligent.cpp | |
| parent | Linux native app: fixed return code (diff) | |
| download | DiligentTools-b3f3da20d768f84304a3d0d03870aa18904d942b.tar.gz DiligentTools-b3f3da20d768f84304a3d0d03870aa18904d942b.zip | |
ImGuiImplDiligent: added UpdateFontsTexture() method
Diffstat (limited to 'Imgui/src/ImGuiImplDiligent.cpp')
| -rw-r--r-- | Imgui/src/ImGuiImplDiligent.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp index 38a561c..c249b24 100644 --- a/Imgui/src/ImGuiImplDiligent.cpp +++ b/Imgui/src/ImGuiImplDiligent.cpp @@ -76,9 +76,9 @@ public: void InvalidateDeviceObjects(); void CreateDeviceObjects(); -private: void CreateFontsTexture(); +private: RefCntAutoPtr<IRenderDevice> m_pDevice; RefCntAutoPtr<IBuffer> m_pVB; RefCntAutoPtr<IBuffer> m_pIB; @@ -473,4 +473,10 @@ void ImGuiImplDiligent::CreateDeviceObjects() m_pImpl->CreateDeviceObjects(); } +void ImGuiImplDiligent::UpdateFontsTexture() +{ + m_pImpl->CreateFontsTexture(); +} + + } // namespace Diligent |
