Skip to content
Snippets Groups Projects
Commit 41ff403a authored by dos's avatar dos Committed by pippin
Browse files

py,st3m: Redraw overlays more times after mode change

Mode switching interacts weirdly with overlay drawing. Overlays
are rendered in-process, while mode change still occurs in the
graphics task. Make sure that we don't end up with framebuffer
getting cleared after rendering by queuing a few more frames
to render and flushing the whole pipeline.
parent f76a6500
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ class Compositor(Responder):
redraw = True
self._redraw_pending -= 1
if display_mode != self._display_mode:
self._redraw_pending = 2
self._redraw_pending = 4
self._display_mode = display_mode
if (display_mode & sys_display.osd) == 0:
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment