Closed msrd0 closed 1 year ago
That's how I use Surface
Height and width can be changed between frames so I don't think that I can save surface between frames
Also I have wrapper for animation to be able to send it between threads
Ok you should now be able to call glib::Bytes::from_owned(surface)
directly.
CC @YuraIz - Does this help you reduce the unsafe code you have to write to use this library?