From e88f9da3cb09cbedce999a440cfa5f80648ee29a Mon Sep 17 00:00:00 2001 From: Lucas Petherbridge Date: Mon, 6 May 2024 08:53:33 -0700 Subject: [PATCH] fix: fixed unused warning --- src/texture.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/texture.rs b/src/texture.rs index a7d2d62..c283b2f 100644 --- a/src/texture.rs +++ b/src/texture.rs @@ -452,8 +452,10 @@ pub(crate) trait TextureRenderer { fn clear_texture_target(&mut self); /// Returns whether a texture is set as the target for drawing operations. + #[allow(unused)] fn has_texture_target(&self) -> bool; /// Clear internal texture cache. + #[allow(unused)] fn clear_texture_cache(&mut self); }