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

Add padding for WebGL support by padding buffer content #59

Merged
merged 2 commits into from
Apr 4, 2022
Merged

Add padding for WebGL support by padding buffer content #59

merged 2 commits into from
Apr 4, 2022

Conversation

svents
Copy link
Contributor

@svents svents commented Apr 3, 2022

First: thanks for providing the egui backends! With Vulkan everything worked out of the box, but with WASM/WebGL I ran into the issue described here: #58

Since at least one other person had the same issue here, I thought that I might as well push my local fork. In addition to the padding that solves the WebGL issue, I also added size limits in a separate commit.

@hasenbanck
Copy link
Owner

Can you add a comment at the padding why we need it?

@pierscowburn
Copy link

Can confirm that this resolves the issue I was having with running egui with wgpu's WebGL backend 👍

Thanks @svents!

@svents
Copy link
Contributor Author

svents commented Apr 4, 2022

Can you add a comment at the padding why we need it?

Done

@hasenbanck
Copy link
Owner

LGTM

@hasenbanck hasenbanck merged commit b2d3e79 into hasenbanck:master Apr 4, 2022
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.

3 participants