render/blur: Cache native texture type
This commit is contained in:
parent
c92b91221c
commit
f6cb4519a0
11 changed files with 74 additions and 61 deletions
|
|
@ -1137,7 +1137,7 @@ where
|
|||
impl<R> Element for CosmicMappedRenderElement<R>
|
||||
where
|
||||
R: AsGlowRenderer,
|
||||
R::TextureId: 'static,
|
||||
R::TextureId: Send + 'static,
|
||||
{
|
||||
fn id(&self) -> &smithay::backend::renderer::element::Id {
|
||||
match self {
|
||||
|
|
@ -1358,7 +1358,7 @@ where
|
|||
impl<R> RenderElement<R> for CosmicMappedRenderElement<R>
|
||||
where
|
||||
R: AsGlowRenderer,
|
||||
R::TextureId: 'static,
|
||||
R::TextureId: Send + 'static,
|
||||
{
|
||||
fn draw(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue