plugin_framework, fix dup ui widgets

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-29 12:34:27 +08:00
parent 2e12d66615
commit c315924ef7
2 changed files with 10 additions and 3 deletions

View File

@@ -181,7 +181,6 @@ struct VideoRenderer {
ptr: usize,
width: usize,
height: usize,
size: usize,
on_rgba_func: Option<Symbol<'static, FlutterRgbaRendererPluginOnRgba>>,
}
@@ -210,7 +209,6 @@ impl Default for VideoRenderer {
ptr: 0,
width: 0,
height: 0,
size: 0,
on_rgba_func,
}
}