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

example_sdl2_sdlrenderer2: fix for potential typo in return code #7876

Merged
merged 1 commit into from
Aug 9, 2024
Merged

example_sdl2_sdlrenderer2: fix for potential typo in return code #7876

merged 1 commit into from
Aug 9, 2024

Conversation

lunarlattice0
Copy link
Contributor

@lunarlattice0 lunarlattice0 commented Aug 9, 2024

Hi,

I noticed the return code for a failure to initialize the SDL renderer in the example returns 0, which would incorrectly indicate a successful exit. The correct return code, as used previously in the example, should most likely be -1.

Thanks

@ocornut ocornut merged commit 45e7f78 into ocornut:master Aug 9, 2024
@ocornut
Copy link
Owner

ocornut commented Aug 9, 2024

Thank you!

@lunarlattice0 lunarlattice0 deleted the example_sdl2_sdlrenderer2_fix branch August 9, 2024 20:17
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