rust: update example

pull/907/head
joseLuís 4 years ago
parent 8eefeb2a73
commit 4382487652

@ -23,7 +23,7 @@ fn render_image(ncd: &mut nc::ncdirect, blit: nc::ncblitter_e) {
unsafe {
if nc::ncdirect_render_image(
ncd,
CString::new("direct-image.png").unwrap().as_ptr(),
CString::new("image-16x16.png").unwrap().as_ptr(),
nc::ncalign_e_NCALIGN_CENTER,
blit,
nc::ncscale_e_NCSCALE_NONE,

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 435 B

Loading…
Cancel
Save