[rust] fix issue-1559 example, i think #1559

This commit is contained in:
nick black 2021-05-08 15:28:31 -04:00
parent 0d70d73100
commit 8025beb6d8
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

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