mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
rust: update example
This commit is contained in:
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…
x
Reference in New Issue
Block a user