forked from 1b-agent/fieldcraft-upstream
A Retina window 2300 pixels wide drew its CPU viewport (the offscreen capture's path) into a 2300 x 1412 texture, past egui's 2048 limit, and the app aborted. The image is now scaled to fit the context's max_texture_side and drawn stretched, as an image over the renderer's own limit already was. Fixes #237. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo