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

Handle null pointers in Cursor constructors #233

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

Marioalexsan
Copy link
Member

Fixes #232 by throwing LoadingFailedException when a null pointer is returned from CSFML.

@eXpl0it3r eXpl0it3r added the Bug label Oct 29, 2023
src/SFML.Window/Cursor.cs Show resolved Hide resolved
@eXpl0it3r eXpl0it3r merged commit 2b0df47 into SFML:master Oct 31, 2023
9 checks passed
@eXpl0it3r
Copy link
Member

Thanks for the fix! :)

@eXpl0it3r eXpl0it3r added this to the 2.6.0 milestone Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using an unsupported CursorType causes a crash
2 participants