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:
parent
7485816d6f
commit
6536ddcdcf
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user