Skip to content

Commit

Permalink
Comment out 2 unused functions
Browse files Browse the repository at this point in the history
CaspianA1 committed May 28, 2024
1 parent 1778d45 commit 53043df
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
@@ -411,6 +411,7 @@ impl<'a> TexturePool<'a> {

////////// TODO: use these

/*
pub fn set_color_mod_for(&mut self, handle: &TextureHandle, r: u8, g: u8, b: u8) {
let texture = self.get_texture_from_handle_mut(handle);
texture.set_color_mod(r, g, b);
@@ -420,6 +421,7 @@ impl<'a> TexturePool<'a> {
let texture = self.get_texture_from_handle_mut(handle);
texture.set_alpha_mod(a);
}
*/

pub fn set_blend_mode_for(&mut self, handle: &TextureHandle, blend_mode: render::BlendMode) {
let texture = self.get_texture_from_handle_mut(handle);

0 comments on commit 53043df

Please sign in to comment.