Skip to content

Commit

Permalink
gles: missed objc -> objc2 translation, now cmopiles on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
EriKWDev committed Jan 12, 2025
1 parent 45c12d8 commit c90ec46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blade-graphics/src/gles/egl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ impl super::Context {
let window_ptr = handle.ns_view.as_ptr();
#[cfg(target_os = "macos")]
let window_ptr = unsafe {
use objc::{msg_send, runtime::Object, sel, sel_impl};
use objc2::{msg_send, runtime::Object};
// ns_view always have a layer and don't need to verify that it exists.
let layer: *mut Object =
msg_send![handle.ns_view.as_ptr() as *mut Object, layer];
Expand Down

0 comments on commit c90ec46

Please sign in to comment.