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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user