mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
px_offset_x and px_offset_y were unused (#551)
These methods were unused and breaking the build - [x] Changelog updated / no changelog update needed
This commit is contained in:
commit
e73d864d07
|
@ -62,12 +62,6 @@ pub(super) trait BackgroundSizePrivate: BackgroundSize + Sized {
|
|||
fn tile_pos_y(&self, y: i32) -> u16 {
|
||||
((y as u32) & (self.height() - 1)) as u16
|
||||
}
|
||||
fn px_offset_x(&self, x: i32) -> u16 {
|
||||
((x as u32) & (self.width() * 8 - 1)) as u16
|
||||
}
|
||||
fn px_offset_y(&self, y: i32) -> u16 {
|
||||
((y as u32) & (self.height() * 8 - 1)) as u16
|
||||
}
|
||||
}
|
||||
|
||||
impl BackgroundSize for RegularBackgroundSize {
|
||||
|
|
Loading…
Reference in a new issue