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

bindTransformFeedbackInfo with offset #222

Open
arifr1234 opened this issue May 16, 2023 · 3 comments
Open

bindTransformFeedbackInfo with offset #222

arifr1234 opened this issue May 16, 2023 · 3 comments

Comments

@arifr1234
Copy link

https://github.com/greggman/twgl.js/blob/e685cf96ecb171839810dca5480834abe8c86919/src/programs.js#LL1149C20-L1149C20
The function bindTransformFeedbackInfo accesses the "size" of an attribute of the bufferInfo, however, "size" is an alias of "numComponents", which means that when you try to configure "size" you end up configuring "numComponents".

@arifr1234
Copy link
Author

When the function tries to access "size" it gets undefined.

@greggman
Copy link
Owner

doh!

what do you think I should do. I could change it to transformFeedbackSize or rangeSize

@arifr1234
Copy link
Author

So transformFeedbackSize will be an optional property of FullArraySpec?

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