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

Uncomment SetTargetFPS in core_window_flags #4862

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

marler8997
Copy link
Contributor

I think this line was accidently commented out in this commit:

3d1ae35

The FPS limit is needed to get the desired wait time for the "hide window" test, which uses the frame counter to hide the window for 3 seconds. On my machine without this limit it runs at over 1000 FPS and it appears like the hide window state is broken.

I also added some text that tells the user that it only hides the window for 3 seconds so they're not surprised when the window automatically reappears.

I think this line was accidently commented out in this commit:

3d1ae35

The FPS limit is needed to get the desired wait time for the "hide window"
test, which uses the frame counter to hide the window for 3 seconds. On
my machine without this limit it runs at over 1000 FPS and it appears
like the hide window state is broken.

I also added some text that tells the user that it only hides the window
for 3 seconds so they're not surprised when the window automatically
reappears.
@raysan5 raysan5 merged commit 57a00b0 into raysan5:master Mar 28, 2025
15 checks passed
@raysan5
Copy link
Owner

raysan5 commented Mar 28, 2025

@marler8997 Note that some examples contain commented code, just to be used as a reference for the user or illustrate some alternative functionality. Probably it was the case, but it's ok to enable it...

@marler8997 marler8997 deleted the coreFlagsFps branch March 28, 2025 22:04
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