rust: fix visual

pull/1097/head
joseLuís 4 years ago
parent cfb2bf0824
commit 2f3d99e4e7

@ -24,6 +24,7 @@ mod nc;
mod palette;
mod pixel;
mod plane;
mod visual;
mod types;
pub use cells::*;
pub use channel::*;
@ -34,6 +35,7 @@ pub use nc::*;
pub use palette::*;
pub use pixel::*;
pub use plane::*;
pub use visual::*;
pub use types::*;
// TODO: move tests out

@ -259,7 +259,7 @@ pub const SCALE_NONE: Scale = nc::ncscale_e_NCSCALE_NONE;
/// Maintain aspect ratio
pub const SCALE_SCALE: Scale = nc::ncscale_e_NCSCALE_SCALE;
/// Throw away aspect ratio
pub const SCALE_STRECH: Scale = nc::ncscale_e_NCSCALE_STRETCH;
pub const SCALE_STRETCH: Scale = nc::ncscale_e_NCSCALE_STRETCH;
///
pub type DirectMode = nc::ncdirect;

@ -20,7 +20,7 @@
//
// static inline functions total: 1
// ------------------------------------------ (done / remaining)
// (+) done: 0 / 1
// (+) done: 1 / 0
// (#) test: 0 / 1
// ------------------------------------------
// ncvisual_default_blitter
@ -40,5 +40,5 @@ pub fn ncvisual_default_blitter(utf8: bool, scale: Scale) -> Blitter {
}
return BLIT_2x1;
}
BLIT_1x1;
BLIT_1x1
}

Loading…
Cancel
Save