buffers: require Send for Pixmaps

This commit is contained in:
Victoria Fischer 2024-12-01 21:23:07 +01:00
parent 0884c704b0
commit 15308ecd76

View File

@ -186,7 +186,7 @@ impl<S: Surface + Default> Surfaces for SurfacePool<S> {
}
}
pub trait Pixbuf: AsMilliwatts + IndexMut<usize, Output=Self::Pixel> {
pub trait Pixbuf: AsMilliwatts + IndexMut<usize, Output=Self::Pixel> + Send {
type Pixel: HardwarePixel;
fn new() -> Self;
fn blank(&mut self);