rust: update example

This commit is contained in:
joseLuís 2020-08-17 17:54:07 +02:00
parent 8eefeb2a73
commit 4382487652
2 changed files with 1 additions and 1 deletions

View File

@ -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,

View File

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 435 B