2eb9de65028dbd4843f1a7fa2e4d314b08cfd65e
Wayland surface always reports current_extent as 0xFFFFFFFF (undefined), meaning the swapchain size is determined by the application, not the surface. Previous code returned early when this happened, so resize never worked — cells stretched to fill the window. Fix: when current_extent is 0xFFFFFFFF, use winit's window.inner_size() to get the actual pixel dimensions. This works on both X11 and Wayland. Both renderers (ascii + graphics) updated. 109 tests, 0 failures
Description
ASCII physical game
1.9 MiB
Languages
Rust
98.6%
GLSL
1%
Python
0.4%