mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Change from upper_blit to blit_surface
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ impl Surface {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn upper_blit( &self, src: &Surface, dstrect: Option<Rect>, srcrect: Option<Rect> ) -> bool {
|
||||
pub fn blit_surface( &self, src: &Surface, dstrect: Option<Rect>, srcrect: Option<Rect> ) -> bool {
|
||||
unsafe {
|
||||
let dstrect_ptr = mem::transmute( dstrect.as_ref() );
|
||||
let srcrect_ptr = mem::transmute( srcrect.as_ref() );
|
||||
|
||||
Reference in New Issue
Block a user