From 5658701f7e3534df8a4a4c0fdc2bd500c60a1b2d Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 28 Jan 2020 23:29:59 -0800 Subject: Updates to comply with the new API --- Imgui/CMakeLists.txt | 1 + Imgui/interface/ImGuiImplDiligent.h | 4 ++-- Imgui/src/ImGuiImplDiligent.cpp | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'Imgui') diff --git a/Imgui/CMakeLists.txt b/Imgui/CMakeLists.txt index 579eec8..5e0b1ff 100644 --- a/Imgui/CMakeLists.txt +++ b/Imgui/CMakeLists.txt @@ -96,6 +96,7 @@ PRIVATE Diligent-PlatformInterface Diligent-GraphicsEngineInterface Diligent-GraphicsAccessories + Diligent-GraphicsTools ) set_target_properties(Diligent-Imgui PROPERTIES diff --git a/Imgui/interface/ImGuiImplDiligent.h b/Imgui/interface/ImGuiImplDiligent.h index 08714fd..542e76f 100644 --- a/Imgui/interface/ImGuiImplDiligent.h +++ b/Imgui/interface/ImGuiImplDiligent.h @@ -33,8 +33,8 @@ namespace Diligent { -class IRenderDevice; -class IDeviceContext; +struct IRenderDevice; +struct IDeviceContext; enum TEXTURE_FORMAT : Uint16; class ImGuiImplDiligent_Internal; diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp index c249b24..353949a 100644 --- a/Imgui/src/ImGuiImplDiligent.cpp +++ b/Imgui/src/ImGuiImplDiligent.cpp @@ -30,9 +30,9 @@ #include "ImGuiImplDiligent.h" #include "RenderDevice.h" #include "DeviceContext.h" -#include "RefCntAutoPtr.h" -#include "BasicMath.h" -#include "MapHelper.h" +#include "RefCntAutoPtr.hpp" +#include "BasicMath.hpp" +#include "MapHelper.hpp" namespace Diligent { -- cgit v1.2.3