sim/framebuffer: remove duplicate poll notify

The framebuffer of the emulator is a single buffer mode, and the pan_display method is not implemented, so as long as the fb device is created and poll notify once, the fb can be kept in a writable state.

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
pengyiqiang 2023-07-13 20:25:56 +08:00 committed by Xiang Xiao
parent 7485816d6f
commit 6536ddcdcf

View File

@ -424,12 +424,8 @@ void sim_x11loop(void)
if (now - last >= MSEC2TICK(16))
{
if (sim_x11update() >= 0)
{
fb_pollnotify(&g_fbobject);
}
last = now;
sim_x11update();
}
#endif
}