upgrade sdl2 and sdl2_image. use beta 2

This commit is contained in:
2015-04-22 13:32:21 +02:00
parent d7d1ab1dc7
commit b91ae6cb29
4 changed files with 16 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ pub trait Sprite {
pub struct StaticSprite<'a> {
texture: &'a Texture<'a>,
texture: &'a Texture,
x: i32,
y: i32
}
@@ -32,7 +32,7 @@ impl<'a> Sprite for StaticSprite<'a> {
pub struct AnimatedSprite<'a> {
texture: &'a Texture<'a>,
texture: &'a Texture,
x: i32,
y: i32,
frame: i32,