From 88e986ca537f2eec19ac8b3ec5b0257cc5b5764c Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Mon, 10 Mar 2025 00:03:35 +0200 Subject: [PATCH] Fix bridging cast --- src/ios_driver.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios_driver.mm b/src/ios_driver.mm index 050b222b..b4b171b0 100644 --- a/src/ios_driver.mm +++ b/src/ios_driver.mm @@ -37,7 +37,7 @@ IOS_EXPORT void iosRunFrame(CAMetalLayer* layer) { emulator->getRenderer()->setMTKLayer(layerBridged); emulator->runFrame(); - CFRelease(layerBridged); + // CFRelease(layerBridged); // CFBridgingAutorelease(layerBridged); printf("Ran a frame\n");