changeset 15286 | 16bd389fc735 |
parent 14719 | abc6aaf481c4 |
child 15760 | ff1432e873bd |
--- a/rust/lib-hedgewars-engine/src/render/map.rs Sat Aug 03 00:54:29 2019 +0300 +++ b/rust/lib-hedgewars-engine/src/render/map.rs Sat Aug 03 01:13:45 2019 +0300 @@ -171,8 +171,7 @@ let texture = Texture2D::with_data( data, stride, - self.tile_size.width as u32, - self.tile_size.height as u32, + self.tile_size, gl::RGBA8, gl::RGBA, gl::UNSIGNED_BYTE,