macOS Metal + AppKit app (#2205)

Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2024-04-02 01:52:19 +02:00
committed by GitHub
parent adf029cfb0
commit e4a4b9ec67
97 changed files with 955 additions and 3953 deletions

View File

@@ -77,6 +77,7 @@ void Renderer::Impl::render(const RenderTree& renderTree,
#if MLN_RENDER_BACKEND_METAL
if constexpr (EnableMetalCapture) {
const auto& mtlBackend = static_cast<mtl::RendererBackend&>(backend);
const auto& mtlDevice = mtlBackend.getDevice();
if (!commandCaptureScope) {