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

fix PhiloGL.Program.fromShaderIds #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neomantra
Copy link

Commit d8a63a4 introduced a bug which
broke fromShaderIds. This is specifically here:
d8a63a4#diff-9589e3a0cc72e26a4814bc9ef05aa2d4R301

fromShaderIds is supposed to return a Program, but instead this function is
delegating to onSuccess. But the arguments/options never allow an onSuccess
to be specified.

This patch removes that onSuccess call and just returns the Program.

Commit d8a63a4 introduced a bug which
broke fromShaderIds.  This is specifically here:
senchalabs@d8a63a4#diff-9589e3a0cc72e26a4814bc9ef05aa2d4R301

fromShaderIds is supposed to return a Program, but instead this function is
delegating to onSuccess.  But the arguments/options never allow an onSuccess
to be specified.

This patch removes that onSuccess call and just returns the Program.
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.

None yet

1 participant