Fix references to duplicated sys types

This commit is contained in:
Machtan
2016-10-03 12:06:46 +02:00
parent ae6ab40273
commit fba0902709
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ name = "sdl2"
description = "SDL2 bindings for Rust"
repository = "https://github.com/AngryLawyer/rust-sdl2"
documentation = "http://angrylawyer.github.io/rust-sdl2/sdl2/"
version = "0.23.0"
version = "0.23.1"
license = "MIT"
authors = [ "Tony Aldridge <tony@angry-lawyer.com>" ]
keywords = ["SDL", "windowing", "graphics"]
+1 -1
View File
@@ -210,7 +210,7 @@ impl MouseUtil {
}
pub fn is_cursor_showing(&self) -> bool {
unsafe { ll::SDL_ShowCursor(ll::SDL_QUERY) == 1 }
unsafe { ll::SDL_ShowCursor(::sys::SDL_QUERY) == 1 }
}
pub fn show_cursor(&self, show: bool) {
+1 -1
View File
@@ -453,7 +453,7 @@ impl SurfaceRef {
}
pub fn blend_mode(&self) -> BlendMode {
let mut mode: ll::SDL_BlendMode = 0;
let mut mode: ::sys::SDL_BlendMode = 0;
let result = unsafe {
ll::SDL_GetSurfaceBlendMode(self.raw(), &mut mode)
};