mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-02 23:11:29 +03:00
Merge pull request #3482 from fufesou/fix/flutter_texture_render
fix flutter texture render
This commit is contained in:
@@ -156,6 +156,7 @@ pub struct FlutterHandler {
|
|||||||
pub type FlutterRgbaRendererPluginOnRgba = unsafe extern "C" fn(
|
pub type FlutterRgbaRendererPluginOnRgba = unsafe extern "C" fn(
|
||||||
texture_rgba: *mut c_void,
|
texture_rgba: *mut c_void,
|
||||||
buffer: *const u8,
|
buffer: *const u8,
|
||||||
|
len: c_int,
|
||||||
width: c_int,
|
width: c_int,
|
||||||
height: c_int,
|
height: c_int,
|
||||||
dst_rgba_stride: c_int,
|
dst_rgba_stride: c_int,
|
||||||
@@ -219,6 +220,7 @@ impl VideoRenderer {
|
|||||||
func(
|
func(
|
||||||
self.ptr as _,
|
self.ptr as _,
|
||||||
rgba.as_ptr() as _,
|
rgba.as_ptr() as _,
|
||||||
|
rgba.len() as _,
|
||||||
self.width as _,
|
self.width as _,
|
||||||
self.height as _,
|
self.height as _,
|
||||||
crate::DST_STRIDE_RGBA as _,
|
crate::DST_STRIDE_RGBA as _,
|
||||||
|
|||||||
Reference in New Issue
Block a user