Skip to content

Clamp buffer size - #63

Merged
benjaminleonard merged 3 commits into
mainfrom
max-buffer-size
Jun 26, 2026
Merged

benjaminleonard merged 3 commits into
mainfrom
max-buffer-size

Conversation

@benjaminleonard

Copy link
Copy Markdown
Collaborator

Fixes #61

renderbufferStorage(Multisample): Width or height exceeds maximum renderbuffer size

This clamps the derived DPR based on maxBufferSize when the buffer would otherwise overflow.

Perhaps what happened here is the display is ran at a different scaling mode? That in combination with a high DPR on tier 3 devices (like the M5) causes the buffer to be set higher than the GPU limit. I'm guessing Chrome clamps this where Firefox does not.

@vercel

vercel Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rack-explorer Ready Ready Preview Jun 26, 2026 9:12am

Request Review

@benjaminleonard
benjaminleonard merged commit 0378fce into main Jun 26, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — e6d3e5c3 Deployed Jun 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crash in Firefox

1 participant