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

Fix Callback and store Renderer Image type #1945

Merged
merged 1 commit into from
May 31, 2024

Conversation

AlexandreK38
Copy link
Contributor

@AlexandreK38 AlexandreK38 commented May 30, 2024

Describe your changes

The RenderTexture::listenToBackground(EventCustom* /*event*/) method is using the newImage method but the callback has still the old type, leading to a crash.
We expect a RefPtr<Image> and not an Image*. I changed the memory management and member type in consequence.

@halx99 halx99 merged commit 1639861 into axmolengine:dev May 31, 2024
15 checks passed
@halx99 halx99 added this to the 2.1.4 milestone May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants