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

[rcore_web] removed hardcoded sleep #4713

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

CrackedPixel
Copy link
Contributor

@CrackedPixel CrackedPixel commented Jan 19, 2025

conversation from #4712

There are 2 types of web-builds

  1. Using asyncify -- the additional emscripten_sleep(16) is removed, EndDrawing still pauses properly
  2. Using set_main_loop -- the additional emscripten_sleep(16) is removed, EndDrawing still adds an additional pause from the browser (i think should be handled in a different PR)

@CrackedPixel CrackedPixel changed the title removed hardcoded sleep [rcore_web] removed hardcoded sleep Jan 19, 2025
@raysan5 raysan5 merged commit 77c509d into raysan5:master Jan 20, 2025
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Jan 20, 2025

@CrackedPixel thanks for the review!

ngynkvn pushed a commit to ngynkvn/raylib that referenced this pull request Jan 21, 2025
raysan5 added a commit that referenced this pull request Jan 28, 2025
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