1
0
Fork 0
forked from wry/wry

gfx: identify wl_buffer by address during ctx change

This commit is contained in:
Julian Orth 2026-02-10 20:24:56 +01:00
parent 882aa7bd24
commit 86a765718d
4 changed files with 10 additions and 11 deletions

View file

@ -101,7 +101,7 @@ impl WlBuffer {
color,
gfx_ctx_changed: EventListener::new(slf.clone()),
});
slf.gfx_ctx_changed.attach(&client.gfx_ctx_changed);
slf.gfx_ctx_changed.attach(&client.state.gfx_ctx_changed);
slf
}