sf2dlib
sf2dlib copied to clipboard
Calling sf2d_draw_fill_circle makes draw calls after it not show
Basically sf2d_draw_fill_circle kills everything. This can be reproduced in the sample by moving sf2d_draw_fill_circle before any of the rectangle calls.
After some testing, it seems that if you render two filled circles in a row, it will let everything else continue rendering.
Apparently changing the value of 'num_segments' in sf2d_draw_fill_circle can fix this. I changed it from 100 to 94 and now it works for me. Can anyone else confirm this?
I think this: 4cc40cf3cb2b6cbd69ee2809291c3ef7d6db976b and this: 33e07b6a42bce1d94385ce088f8a35fa09d8cd7b commit fixed it.