Upgrade SDL2 and SDL2 Image.

This commit is contained in:
2016-05-17 20:37:57 +02:00
parent 6034e21e25
commit 2c7d5cc1d6
8 changed files with 220 additions and 198 deletions

View File

@@ -37,6 +37,6 @@ impl Player {
}
pub fn to_rect(&self) -> Rect {
Rect::new_unwrap(self.x as i32, self.y as i32, self.w, self.h)
Rect::new(self.x as i32, self.y as i32, self.w, self.h)
}
}