set fmt and stride to private in ImageRgb
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
e3b66af8af
commit
fc50a3e49d
6 changed files with 27 additions and 11 deletions
|
|
@ -242,7 +242,7 @@ impl VideoRenderer {
|
|||
rgba.raw.len() as _,
|
||||
rgba.w as _,
|
||||
rgba.h as _,
|
||||
rgba.stride as _,
|
||||
rgba.stride() as _,
|
||||
)
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue