fix(web): use adapter limits so /play renders at native res (no 2048 cap) #101
Reference in New Issue
Block a user
Delete Branch "test/web-adapter-limits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Switches wgpu priority WebGL2 -> Functionality so the device adopts the adapter
s real limits (true max_texture_dimension ~16384 on the reporters 3080 Ti) instead of the hardcoded downlevel 2048. On the WebGL2 backend the adapter is still WebGL2-constrained for features/buffers (shaders stay GLES-compatible), and device creation requests exactly what the adapter offers so it can`t fail. Removes the resize_constraints + play.html caps.Deploying for Rhys to test on the live site. lib.rs is wasm-feeding, so web-wasm-rebuild regenerates canvas_bg.wasm after merge, then docker-build redeploys (~20-30 min).