aboutsummaryrefslogtreecommitdiff
path: root/src/render_helpers/renderer.rs
diff options
context:
space:
mode:
authorChristian Meissl <meissl.christian@gmail.com>2024-07-05 21:49:08 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2024-07-08 08:30:00 +0300
commit570bf1cb3c1f9ffc847359009c6061e062c72871 (patch)
treef087b302e1f25c61556170735fe9a70fe14ce9bb /src/render_helpers/renderer.rs
parent6ec9c72539684ed409427649a11837ab56a0250c (diff)
downloadniri-570bf1cb3c1f9ffc847359009c6061e062c72871.tar.gz
niri-570bf1cb3c1f9ffc847359009c6061e062c72871.tar.bz2
niri-570bf1cb3c1f9ffc847359009c6061e062c72871.zip
bump smithay
Diffstat (limited to 'src/render_helpers/renderer.rs')
-rw-r--r--src/render_helpers/renderer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render_helpers/renderer.rs b/src/render_helpers/renderer.rs
index 5c483182..f4872738 100644
--- a/src/render_helpers/renderer.rs
+++ b/src/render_helpers/renderer.rs
@@ -17,7 +17,7 @@ pub trait NiriRenderer:
+ AsGlesRenderer
{
// Associated types to work around the instability of associated type bounds.
- type NiriTextureId: Texture + Clone + 'static;
+ type NiriTextureId: Texture + Clone + Send + 'static;
type NiriError: std::error::Error
+ Send
+ Sync
@@ -28,7 +28,7 @@ pub trait NiriRenderer:
impl<R> NiriRenderer for R
where
R: ImportAll + ImportMem + ExportMem + Bind<Dmabuf> + Offscreen<GlesTexture> + AsGlesRenderer,
- R::TextureId: Texture + Clone + 'static,
+ R::TextureId: Texture + Clone + Send + 'static,
R::Error: std::error::Error + Send + Sync + From<<GlesRenderer as Renderer>::Error> + 'static,
{
type NiriTextureId = R::TextureId;