sf2dlib icon indicating copy to clipboard operation
sf2dlib copied to clipboard

Calling sf2d_draw_fill_circle makes draw calls after it not show

Open ds84182 opened this issue 10 years ago • 3 comments

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.

ds84182 avatar Aug 31 '15 02:08 ds84182

After some testing, it seems that if you render two filled circles in a row, it will let everything else continue rendering.

ds84182 avatar Aug 31 '15 03:08 ds84182

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?

DavidSM64 avatar Oct 07 '15 23:10 DavidSM64

I think this: 4cc40cf3cb2b6cbd69ee2809291c3ef7d6db976b and this: 33e07b6a42bce1d94385ce088f8a35fa09d8cd7b commit fixed it.

xerpi avatar Dec 06 '15 20:12 xerpi