diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-07-08 10:04:43 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-07-08 10:04:43 +0400 |
| commit | 4cc195b681172f173c18eaf00261c2888f89b9c5 (patch) | |
| tree | 00703b2291a5409417af34fa806f2116bcb47522 /src/render_helpers/primary_gpu_texture.rs | |
| parent | fc2be2b8d0624ff108d93cf93d9dccf57bf779a1 (diff) | |
| download | niri-4cc195b681172f173c18eaf00261c2888f89b9c5.tar.gz niri-4cc195b681172f173c18eaf00261c2888f89b9c5.tar.bz2 niri-4cc195b681172f173c18eaf00261c2888f89b9c5.zip | |
screenshot-ui: Pre-compute PrimaryGpuTexture
Diffstat (limited to 'src/render_helpers/primary_gpu_texture.rs')
| -rw-r--r-- | src/render_helpers/primary_gpu_texture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render_helpers/primary_gpu_texture.rs b/src/render_helpers/primary_gpu_texture.rs index 3698212d..702b70b4 100644 --- a/src/render_helpers/primary_gpu_texture.rs +++ b/src/render_helpers/primary_gpu_texture.rs @@ -8,7 +8,7 @@ use super::texture::TextureRenderElement; use crate::backend::tty::{TtyFrame, TtyRenderer, TtyRendererError}; /// Wrapper for a texture from the primary GPU for rendering with the primary GPU. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct PrimaryGpuTextureRenderElement(pub TextureRenderElement<GlesTexture>); impl Element for PrimaryGpuTextureRenderElement { |
