From ea36d46d1703effdc77ba89bd8a1c7be0b960b2c Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 4 Feb 2020 15:27:29 -0800 Subject: Fixed few deprecation warnings on Mac --- DiligentCore | 2 +- DiligentTools | 2 +- unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DiligentCore b/DiligentCore index ce26592..6605548 160000 --- a/DiligentCore +++ b/DiligentCore @@ -1 +1 @@ -Subproject commit ce265923d110dd8728cfce296e35d6000d861cf0 +Subproject commit 6605548066bbff052ea1c1f7e4fec14446fa7727 diff --git a/DiligentTools b/DiligentTools index 63e8116..4b1a5b1 160000 --- a/DiligentTools +++ b/DiligentTools @@ -1 +1 @@ -Subproject commit 63e8116bba2edfc690654826dfe1bc67c352fe48 +Subproject commit 4b1a5b1772223d3a857d39bc8bad8e5b85e1a5e9 diff --git a/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp b/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp index d56979e..c51b5d2 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp +++ b/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp @@ -30,6 +30,8 @@ public: void CreateRenderTargetAndDepthBuffer(); + UnityGfxRenderer GetAPIType() const { return m_APIType; } + private: UnityGfxRenderer m_APIType; RefCntAutoPtr m_DeviceCtxGL; -- cgit v1.2.3