1
0
Fork 0
forked from wry/wry

render: remove TextureReservations

This commit is contained in:
Julian Orth 2024-03-21 14:48:24 +01:00
parent 300deecc7d
commit ea4a1f027b
20 changed files with 198 additions and 172 deletions

View file

@ -408,7 +408,7 @@ impl State {
}
fn visit_surface(&mut self, node: &Rc<WlSurface>) {
if let Some(buffer) = node.buffer.get() {
buffer.handle_gfx_context_change();
buffer.buffer.handle_gfx_context_change();
}
node.node_visit_children(self);
}
@ -814,6 +814,7 @@ impl State {
size,
Scale::from_int(1),
None,
None,
);
if render_hardware_cursors {
for seat in self.globals.lock_seats().values() {