fix, non-texture render, next_rgba

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-10-16 00:20:41 +08:00
parent 892ebc2e03
commit 2cc0bf22cb

View File

@ -803,7 +803,7 @@ impl InvokeUiSession for FlutterHandler {
fn next_rgba(&self, _display: usize) {
#[cfg(not(feature = "flutter_texture_render"))]
if let Some(rgba_data) = self.display_rgbas.write().unwrap().get_mut(&_display) {
rgba_data.valid = true;
rgba_data.valid = false;
}
}
}