mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
[rust] fix issue-1559 example, i think #1559
This commit is contained in:
parent
0d70d73100
commit
8025beb6d8
@ -23,7 +23,7 @@ fn main() -> NcResult<()> {
|
||||
|
||||
let vframe = NcVisual::from_rgba(buffer.as_slice(), HEIGHT, WIDTH * 4, WIDTH)?;
|
||||
let voptions =
|
||||
NcVisualOptions::without_plane(0, 0, 0, 0, HEIGHT, WIDTH, NCBLIT_PIXEL, 0, 0);
|
||||
NcVisualOptions::without_plane(0, 0, 0, 0, 0, 0, NCBLIT_PIXEL, 0, 0);
|
||||
|
||||
// vframe.inflate(1)?; // this works
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user