diff options
Diffstat (limited to 'app/source/Cplt/ImGuiBackend/Backend_Metal.mm')
-rw-r--r-- | app/source/Cplt/ImGuiBackend/Backend_Metal.mm | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/app/source/Cplt/ImGuiBackend/Backend_Metal.mm b/app/source/Cplt/ImGuiBackend/Backend_Metal.mm index 276bef2..a1f4993 100644 --- a/app/source/Cplt/ImGuiBackend/Backend_Metal.mm +++ b/app/source/Cplt/ImGuiBackend/Backend_Metal.mm @@ -2,27 +2,22 @@ #if BUILD_CORE_WITH_METAL_BACKEND -class MetalBackend : public RenderingBackend -{ +class MetalBackend : public RenderingBackend { public: - MetalBackend() - { + MetalBackend() { // TODO } - virtual ~MetalBackend() - { + virtual ~MetalBackend() { // TODO } - virtual void RunUntilWindowClose(void (*windowContent)()) - { + virtual void RunUntilWindowClose(void (*windowContent)()) { // TODO } }; -std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() -{ +std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() { try { return std::make_unique<MetalBackend>(); } catch (std::exception& e) { @@ -32,8 +27,7 @@ std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() #else // ^^ BUILD_CORE_WITH_METAL_BACKEND | BUILD_CORE_WITH_METAL_BACKEND vv -std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() -{ +std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() { return nullptr; } |