I did some bug testing trying something with the SDL texture stuff, but that wasn't it. It seems to be something more complicated than a simple pixelformat issue. The weird thing is that the Vita uses SDL2 just like the Switch, and the same code, and on Switch it works.