Fix bridging cast

This commit is contained in:
wheremyfoodat 2025-03-10 00:03:35 +02:00
parent 90279e6f9e
commit 88e986ca53

View file

@ -37,7 +37,7 @@ IOS_EXPORT void iosRunFrame(CAMetalLayer* layer) {
emulator->getRenderer()->setMTKLayer(layerBridged); emulator->getRenderer()->setMTKLayer(layerBridged);
emulator->runFrame(); emulator->runFrame();
CFRelease(layerBridged); // CFRelease(layerBridged);
// CFBridgingAutorelease(layerBridged); // CFBridgingAutorelease(layerBridged);
printf("Ran a frame\n"); printf("Ran a frame\n");