Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metal] Cannot create weak reference in file using manual reference counting #5122

Closed
rsousacode opened this issue Mar 19, 2022 · 1 comment

Comments

@rsousacode
Copy link
Contributor

rsousacode commented Mar 19, 2022

Using Macbook pro M1

Tested in Version: 6fae296

compile error: https://github.com/ocornut/imgui/blob/master/backends/imgui_impl_metal.mm#L586

error: cannot create weak reference in file using manual reference counting
    weak id weakSelf = self;

This error is generated using minimal metal example (glfw).

@ocornut
Copy link
Owner

ocornut commented Mar 22, 2022

Merged #5123

@ocornut ocornut closed this as completed Mar 22, 2022
ocornut pushed a commit that referenced this issue Mar 28, 2022
Co-authored-by: Wvader <34067397+wvader@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants