I was trying to make a circular HP bar using OpenGL with SDL, like this:
It's Touhou 14 BTW.
For that the game uses a single image, which is this the attached file.
I suppose that the pink lines are the life bar itself and the blue thing is for marking in the lifebar how much damage you must do to trigger the spellcard. But, how can i do a circle using that image in a polygon shape?