Skip to content

Commit b7d4771

Browse files
committed
Fix ios build
1 parent 96a39a7 commit b7d4771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/ios/display_server_ios.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
if (!layer) {
8282
ERR_FAIL_MSG("Failed to create iOS Vulkan rendering layer.");
8383
}
84-
apple_surface = RenderingNativeSurfaceApple::create((CAMetalLayer *const *)&layer);
84+
apple_surface = RenderingNativeSurfaceApple::create((__bridge void *)layer);
8585
rendering_context = apple_surface->create_rendering_context();
8686
}
8787
#endif

0 commit comments

Comments
 (0)