Skip to content

Conversation

maiconpintoabreu
Copy link
Contributor

This PR is to fix the issue when removing a Monitor while getting information about it.
The issue was confirmed on Linux and Windows.

image image

Renamed vidmode to mode to match with methods like GetMonitorHeight and GetMonitorWidth.

@maiconpintoabreu maiconpintoabreu changed the title [rcore] Add check if video mode is valid and rename to match with other methods [rcore] Check if mode is valid on GetMonitorRefreshRate to avoid Segfault when removing Monitor Oct 5, 2025
@raysan5 raysan5 merged commit de50402 into raysan5:master Oct 5, 2025
16 checks passed
@raysan5
Copy link
Owner

raysan5 commented Oct 5, 2025

@maiconpintoabreu Nice! Thanks for the review!

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