-
Notifications
You must be signed in to change notification settings - Fork 79
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
SegFault when there are lines with too many points #42
Comments
I've been doing some experiments and noticed that values for y-axis actually matter. When I change |
The segfault happens in this function If one changes this function to apply
at the beginning of this loop Line 256 in 509dae2
it does not. It makes me think that we can for example temporarily(not a proper fix) fix it by batching it further (if the index buffer is too big) One idea why it might happen for big index buffers was that index buffer is not allowed to be bigger than But it might be a good idea to reduce this example to be even smaller miniquad only example and draw something with a huge index buffer size and investigate further. |
The code above crashes on my 2015 MacBook Pro when SAMPLE_GRAPH_SIZE is 331. It works if if it is less than 331 for this example. I'm using miniquad
0.3.0-alpha.46
, egui-miniquad0.11.0
and egui0.18.0
Here is the stack trace, hope it helps.
The text was updated successfully, but these errors were encountered: