Skip to content

Add explicit GL dependency to library_html5_webgl #19196

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

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Add explicit GL dependency to library_html5_webgl #19196

merged 1 commit into from
Apr 18, 2023

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 18, 2023

The dependency wrangling here was a workaround for a problem that was solved in #16405. See the comment that is being deleted. Prior to #16405 the native code in pthread_create.c:_do_call would have a reference to this function bug we didn't want all pthread programs to depend on GL. Now now pthread_create.c has been fixed we don't have that problem anymore.

Pretty much all the functions in this depend either directly or indirectly on the global GL object, so it makes sense to use autoAddDeps rather than try to add individual deps.

The dependency wrangling here was a workaround for a problem that was
solved in #16405 (see the command that is being deleted).

Pretty much all the functions in this depend either directly or
indirectly on the global GL object, so it makes sense to use autoAddDeps
rather than try to add individual deps.
@sbc100 sbc100 requested review from kleisauke and kripken April 18, 2023 01:54
@sbc100 sbc100 merged commit 8ae3b24 into main Apr 18, 2023
@sbc100 sbc100 deleted the webgl_dep branch April 18, 2023 16:19
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