Skip to content

Commit

Permalink
fix: fixed unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed May 6, 2024
1 parent 1128b2d commit e88f9da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit e88f9da

Please sign in to comment.