surface propagates new config to renderer

This commit is contained in:
Mitchell Hashimoto
2023-03-16 17:03:57 -07:00
parent f34da17a11
commit 7eda21d544
5 changed files with 24 additions and 1 deletions

View File

@@ -255,6 +255,10 @@ fn drainMailbox(self: *Thread) !void {
.screen_size => |size| {
try self.renderer.setScreenSize(size);
},
.change_config => |config| {
try self.renderer.changeConfig(config);
},
}
}
}