rename to avoid compiler warning
for now until we later fully implement this function and use these arguments
This commit is contained in:
parent
11625f58a5
commit
3d9d97db08
|
@ -250,7 +250,7 @@ impl ScanlineBuffer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn encode_byte(&mut self, filter: Filter, byte: u8, x: usize, y: usize) -> u8 {
|
fn encode_byte(&mut self, filter: Filter, byte: u8, _x: usize, _y: usize) -> u8 {
|
||||||
match filter {
|
match filter {
|
||||||
Filter::None => byte,
|
Filter::None => byte,
|
||||||
_ => 0, // leaving out the rest for now. we hardcode usage of Filter::None when saving PNGs currently
|
_ => 0, // leaving out the rest for now. we hardcode usage of Filter::None when saving PNGs currently
|
||||||
|
|
Loading…
Reference in a new issue