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 WASM with proper shader defs #45

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

jabuwu
Copy link
Contributor

@jabuwu jabuwu commented Sep 2, 2024

Hello there. Rendering lines or triangles crashes WASM during pipeline validation. It seems to me its caused by typos in the code.

Also there's a #[cfg] which does nothing, because the webgl feature does not exist, so I removed it.

Copy link
Owner

@james-j-obrien james-j-obrien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. The webgl check is a legacy fix for an old webgl bug, I have validated in both browsers that this no longer causes an issue so changes look good,

@james-j-obrien james-j-obrien merged commit b69a787 into james-j-obrien:main Sep 2, 2024
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.

2 participants