Publish the real window-fit grid to the TUI before the first frame

This commit is contained in:
Andrew Hamilton 2026-08-06 08:04:26 +10:00
parent a287ce7281
commit 17c54d8921

View file

@ -94,6 +94,9 @@ pub fn start(
(w, r)
};
cols_atomic.store((fb_w / cell_w).max(1), Ordering::Release);
rows_atomic.store((fb_h / cell_h).max(1), Ordering::Release);
// ----- wgpu -----
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: {