Change from upper_blit to blit_surface

This commit is contained in:
Greg M
2014-05-14 15:46:30 -04:00
parent f1992f006e
commit f679a5573c
+1 -1
View File
@@ -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() );