diff options
author | rtk0c <[email protected]> | 2022-06-27 18:27:13 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-27 18:27:13 -0700 |
commit | 8f0dda5eab181b0f14f2652b4e984aaaae3f258c (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/src/Entrypoint/Backend_Metal.mm | |
parent | fad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff) |
Start from a clean slate
Diffstat (limited to 'core/src/Entrypoint/Backend_Metal.mm')
-rw-r--r-- | core/src/Entrypoint/Backend_Metal.mm | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/core/src/Entrypoint/Backend_Metal.mm b/core/src/Entrypoint/Backend_Metal.mm deleted file mode 100644 index 276bef2..0000000 --- a/core/src/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 |