Skip to content

Commit

Permalink
Change blit_surface to blit
Browse files Browse the repository at this point in the history
  • Loading branch information
gmorenz committed May 15, 2014
1 parent f679a55 commit be45cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl2/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl Surface {
}
}

pub fn blit_surface( &self, src: &Surface, dstrect: Option<Rect>, srcrect: Option<Rect> ) -> bool {
pub fn blit( &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() );
Expand Down

0 comments on commit be45cdd

Please sign in to comment.