util/frame/video: add inline attributes

This commit is contained in:
meh
2015-10-14 17:44:23 +02:00
parent 5c4ac30f20
commit b7687b9bd9

View File

@ -38,7 +38,7 @@ impl Video {
}
}
#[inline(always)]
#[inline]
pub fn new(format: format::Pixel, width: u32, height: u32) -> Self {
unsafe {
let mut frame = Video::empty();