We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d3419 commit 7c50bb3Copy full SHA for 7c50bb3
src/rsfml/graphics/sprite.rs
@@ -506,7 +506,9 @@ impl Sprite {
506
*/
507
#[fixed_stack_segment] #[inline(never)]
508
pub fn get_position(&self) -> Vector2f {
509
- unsafe {ffi::sfSprite_getPosition(self.sprite)}
+ unsafe {
510
+ ffi::sfSprite_getPosition(self.sprite)
511
+ }
512
}
513
514
/**
src/rsfml/window/context_settings.rs
@@ -31,11 +31,11 @@
31
32
33
pub struct ContextSettings {
34
- depth_bits: uint,
35
- stencil_bits: uint,
36
- antialiasing_level: uint,
37
- major_version: uint,
38
- minor_version: uint
+ depth_bits: u32,
+ stencil_bits: u32,
+ antialiasing_level: u32,
+ major_version: u32,
+ minor_version: u32
39
40
41
impl ContextSettings {
0 commit comments