-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Nanovg with BGFX Fill Bug when many nvgFill calls are made #1887
Comments
Hello,
I am not familiar with the entire code base so I will leave it up to you to refactor ( or rewrite something ) similar for this problem. But it does look like due to the limitation of the 16-bit transient index buffer, this issue occurs. Granted, this is not the most efficient solution but it does serve to hopefully guide you to a cleaner solution. Thanks |
This fixes the issue for like 95% of the cases. Sometimes, there is still a glitch. Will investigate this sometime soon. |
I'm assuming the same overflow can happen when rendering strokes instead? |
Fixed in #3207. |
Hello,
This is in reference to this bug: #1671
I took a look at the code and am wondering if this can be a potential problem:
The docs state that the transient index buffers only support 16-bit index buffers. If we are drawing a large number of objects with nanogvg, could it be that we can possibly exceed the 16-bit buffer limitation? Any way to get around this possible problem?
Thanks
The text was updated successfully, but these errors were encountered: