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

[Renderers/Web] treat RenderCommand.commandType as uint8_t instead of uint32_t #162

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

bullyingteen
Copy link
Contributor

@bullyingteen bullyingteen commented Jan 4, 2025

This PR fixes the issue when RenderCommand.commandType has garbage if RenderCommand's padding memory is not zeroed.

@nicbarker
Copy link
Owner

Thanks for the hard work tracking this down! 🙂
This LGTM as a short term fix, I definitely want to do another pass on how the types are handled with padding, as it feels pretty fragile at the moment.

@nicbarker nicbarker merged commit 723f59d into nicbarker:main Jan 5, 2025
3 checks passed
St0wy pushed a commit to St0wy/clay that referenced this pull request Jan 9, 2025
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