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

Type-agnostic GetProgramParameter missing #4

Open
dertseha opened this issue Aug 25, 2014 · 1 comment
Open

Type-agnostic GetProgramParameter missing #4

dertseha opened this issue Aug 25, 2014 · 1 comment

Comments

@dertseha
Copy link

There are methods such as GetShaderParameter() returning the actual result, but for program parameter, only type specific methods exist.

In my case of wrapping WebGL behind a OpenGL ES generic interface I'd like to support the original signature returning int. For the program parameter I'm currently calling the JS method directly (not via the WebGL interface).

Is the type-agnostic variant missing or are you planning to have only specific methods (and calling the function directly is the preferred way)?

My code in question is here

@ajhager
Copy link
Contributor

ajhager commented Aug 30, 2014

Thanks for reporting! I will look into this. The original binding was just quick and dirty.

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

No branches or pull requests

2 participants