fix build, sciter

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-10-08 23:32:11 +08:00
parent 2f2a7d1f89
commit 3bb7123dd5
7 changed files with 18 additions and 8 deletions

View File

@@ -1008,7 +1008,7 @@ impl<T: InvokeUiSession> Remote<T> {
{
// Refresh causes client set_display, left frames cause flickering.
while let Some(_) = video_queue.pop() {}
self.handler.refresh_video(*display);
self.handler.refresh_video(*display as _);
ctl.refresh_times += 1;
ctl.last_refresh_instant = Instant::now();
}