Skip to content

Commit 7c50bb3

Browse files
committed
replace uint in ContextSetting by u32
1 parent 06d3419 commit 7c50bb3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/rsfml/graphics/sprite.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,9 @@ impl Sprite {
506506
*/
507507
#[fixed_stack_segment] #[inline(never)]
508508
pub fn get_position(&self) -> Vector2f {
509-
unsafe {ffi::sfSprite_getPosition(self.sprite)}
509+
unsafe {
510+
ffi::sfSprite_getPosition(self.sprite)
511+
}
510512
}
511513

512514
/**

src/rsfml/window/context_settings.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232

3333
pub struct ContextSettings {
34-
depth_bits: uint,
35-
stencil_bits: uint,
36-
antialiasing_level: uint,
37-
major_version: uint,
38-
minor_version: uint
34+
depth_bits: u32,
35+
stencil_bits: u32,
36+
antialiasing_level: u32,
37+
major_version: u32,
38+
minor_version: u32
3939
}
4040

4141
impl ContextSettings {

0 commit comments

Comments
 (0)