I am creating textures using cairo and saving, the issue is if i use the surface directly with opengl its flipped vertically.
if i save and load i can use pil and im.tostring() to flip it.
is there a good way to flip it the cairo surface, perhaps saving my png then flipping for use or saving the images upside down.
alternatively can i create a PIL Image and share the buffer with ciaro so i can then use PIL tostring method to orient the texture.
open to suggestions, not much info on mixing cairo and opengl with python.