I'm making live wallpaper.
If you set wallpaper and then go to live wallpapers and launch it for preview, after returning back to home screen textures for transparent objects get changed in random order.
If I change device orientation, it will re-create framebuffer and everything is OK.
I can't track the moment when I have to re-create framebuffer because these are two different processes for 2 wallpapers.
Apparently something bad happens to framebuffer, please give me some recommendations.