sf2d hasn't been maintained since the original port to citro3d, which also completely broke rendertargets... one might be better off with a bit lower of an abstraction from c3d, akin to my RenderCore https://github.com/zetaPRIME/starlauncher/blob/master/source/starlight/gfx/RenderCore.cpp
on...