mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[client] overlay: restore every splash fade frame
Mark the active fade as requiring a fully restored render target. This also covers guest-driven renders between animation ticks so they cannot blend over stale splash content.
This commit is contained in:
@@ -247,13 +247,19 @@ static bool splash_tick(void * udata, unsigned long long tickCount)
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool splash_needsFullRender(void * udata)
|
||||
{
|
||||
return !l_show && !l_fadeDone;
|
||||
}
|
||||
|
||||
struct LG_OverlayOps LGOverlaySplash =
|
||||
{
|
||||
.name = "splash",
|
||||
.init = splash_init,
|
||||
.free = splash_free,
|
||||
.render = splash_render,
|
||||
.tick = splash_tick,
|
||||
.name = "splash",
|
||||
.init = splash_init,
|
||||
.free = splash_free,
|
||||
.needs_full_render = splash_needsFullRender,
|
||||
.render = splash_render,
|
||||
.tick = splash_tick,
|
||||
};
|
||||
|
||||
void overlaySplash_show(bool show)
|
||||
|
||||
Reference in New Issue
Block a user