diff options
author | rtk0c <[email protected]> | 2022-06-30 23:47:26 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-30 23:47:26 -0700 |
commit | b01ed99a1cd0c863c8709930658513c04dd70f61 (patch) | |
tree | 37865c7683c3c39e69de3dd9798c5bcacb250d99 /app/source/Cplt/Entrypoint/Backend_Metal.mm | |
parent | 68b2695ee31504908122b48a5d36b77a9c983799 (diff) |
Rename Entrypoint/ to ImGuiBackend/ for accuracy
Diffstat (limited to 'app/source/Cplt/Entrypoint/Backend_Metal.mm')
-rw-r--r-- | app/source/Cplt/Entrypoint/Backend_Metal.mm | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/app/source/Cplt/Entrypoint/Backend_Metal.mm b/app/source/Cplt/Entrypoint/Backend_Metal.mm deleted file mode 100644 index 276bef2..0000000 --- a/app/source/Cplt/Entrypoint/Backend_Metal.mm +++ /dev/null @@ -1,40 +0,0 @@ -#include "Backend.hpp" - -#if BUILD_CORE_WITH_METAL_BACKEND - -class MetalBackend : public RenderingBackend -{ -public: - MetalBackend() - { - // TODO - } - - virtual ~MetalBackend() - { - // TODO - } - - virtual void RunUntilWindowClose(void (*windowContent)()) - { - // TODO - } -}; - -std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() -{ - try { - return std::make_unique<MetalBackend>(); - } catch (std::exception& e) { - return nullptr; - } -} - -#else // ^^ BUILD_CORE_WITH_METAL_BACKEND | BUILD_CORE_WITH_METAL_BACKEND vv - -std::unique_ptr<RenderingBackend> RenderingBackend::CreateMetalBackend() -{ - return nullptr; -} - -#endif |