Skip to content

Commit a08dad4

Browse files
native: bump vendored zireael to v1.3.8-alpha.3 (#91)
1 parent 193e358 commit a08dad4

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6038d648aad511560f8f91872cdb52711e9d50a0
1+
05904e35189106e2bb0a5f6ca7467b228809ac99

packages/native/vendor/zireael/src/core/zr_engine_present.inc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ static void zr_engine_present_commit(zr_engine_t* e, bool presented_stage, size_
185185
zr_engine_fb_swap(&e->fb_prev, &e->fb_stage);
186186
} else {
187187
zr_engine_fb_swap(&e->fb_prev, &e->fb_next);
188+
/*
189+
Keep fb_next synchronized with the last committed app frame.
190+
191+
Why: Incremental drawlists apply against fb_next in engine_submit_drawlist().
192+
If fb_next is left as the pre-swap "old prev" frame, incremental updates
193+
are applied on a stale base and can oscillate full-screen output.
194+
*/
195+
zr_engine_fb_copy(&e->fb_prev, &e->fb_next);
188196
}
189197
zr_engine_swap_diff_hashes_on_commit(e);
190198
e->term_state = *final_ts;

vendor/zireael

0 commit comments

Comments
 (0)