Publish the real window-fit grid to the TUI before the first frame
This commit is contained in:
parent
a287ce7281
commit
17c54d8921
1 changed files with 3 additions and 0 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue