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 vertex buffer type encoding for Int16, Uint16, Half and Float #17

Merged
merged 1 commit into from Jun 15, 2021

Conversation

Alex-MSFT
Copy link

In my last PR #16 I added support for Uint16 and Int8 buffer types, but did not update the string used to determine whether we should encode the value as an int in VertexLayout::add to account for this. This PR adds these missing entries to prevent buffer overflows when adding these buffers so they can be properly decoded.

@Alex-MSFT Alex-MSFT changed the title Fix vertex buffer type encoding for Int16, Uint16, Falf and Float Fix vertex buffer type encoding for Int16, Uint16, Half and Float Jun 15, 2021
@bghgary
Copy link

bghgary commented Jun 15, 2021

Ouch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants