mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-24 18:30:09 +00:00
privacy.resistFingerprinting (default-on in LibreWolf and Mullvad Browser, opt-in in Firefox) caps MAX_TEXTURE_SIZE at 2048 on an otherwise hardware-accelerated context. The renderer unconditionally allocates a 4096-wide palette texture, so the oversized texImage2D calls fail silently, framebuffers never complete, and the whole map renders black (#4357). Extend initGL with a third failure class: after the software check, read MAX_TEXTURE_SIZE and classify the context as "limited" when it's below the palette size. The gate shows fingerprinting-specific instructions for this case (add the site to privacy.resistFingerprinting.exemptedDomains) instead of the hardware-acceleration steps, and gl_init reports the capped size. Fixes #4357 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>