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

Avoid "primitive restart" issue #213

Open
emackey opened this issue Nov 1, 2018 · 0 comments
Open

Avoid "primitive restart" issue #213

emackey opened this issue Nov 1, 2018 · 0 comments

Comments

@emackey
Copy link
Member

emackey commented Nov 1, 2018

Once KhronosGroup/glTF#1476 gets merged, this line:

if (index < 65536) {

    if (index < 65536) {

Should be changed to < 65535 to avoid triggering a primitive restart in certain APIs.

Further details on this thread.

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

1 participant