Skip to content

MacOS: Fix gl_context null pointer dereference on startup#536

Merged
not-fl3 merged 1 commit intonot-fl3:masterfrom
domenukk:macos_nullptr_fix
Mar 20, 2025
Merged

MacOS: Fix gl_context null pointer dereference on startup#536
not-fl3 merged 1 commit intonot-fl3:masterfrom
domenukk:macos_nullptr_fix

Conversation

@domenukk
Copy link
Contributor

When using Macroquad, I started running into crashes on MacOS on startup recently. I'm not sure if it is due to a newer Rust version that started checking this, or due to a new MacOS version that started moving windows on startup.

In any case, ignoring a null gl_context fixed the issue, and everything else works as expected afterwards.

@PhilTaken
Copy link

I think this might be a duplicate of #530

@PhilTaken
Copy link

@not-fl3 could you maybe turn this into a minor release and update macroquad with the new version too?

@not-fl3
Copy link
Owner

not-fl3 commented Mar 20, 2025

@not-fl3 could you maybe turn this into a minor release and update macroquad with the new version too?

sure, on it!

@not-fl3 not-fl3 merged commit 30cc031 into not-fl3:master Mar 20, 2025
11 checks passed
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.

3 participants