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

Handle zero-sized buffers internally #238

Open
madsmtm opened this issue Sep 4, 2024 · 0 comments
Open

Handle zero-sized buffers internally #238

madsmtm opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@madsmtm
Copy link
Member

madsmtm commented Sep 4, 2024

The NonZeroU32 in our public API is ugly IMO. Is there a reason why we avoid resizing and rendering when the sizes are 0? Does it crash on some backends? Could we instead make it be a no-op?

See also discussion in #236 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant