@antharia You can create a surface from a texture like this: https://git.sr.ht/~rabbits/nasu/tree/master/item/nasu.c#L403
@neauoire Wow. Thanks. I started to use SDL2 drawing functions but then i switched to your technique with pixels pointer. I owe you one on this too.
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.