Change blit_surface to blit

This commit is contained in:
Greg M
2014-05-15 08:25:23 -04:00
parent f679a5573c
commit be45cdd0f3
+1 -1
View File
@@ -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() );