Skip to content

Fix DefaultFramebuffer.read() #2034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 24, 2024
Merged

Fix DefaultFramebuffer.read() #2034

merged 3 commits into from
Mar 24, 2024

Conversation

einarf
Copy link
Member

@einarf einarf commented Mar 24, 2024

window.ctx.read() doesn't work for the default framebuffer due to glReadBuffer settings for the default framebuffer. If default framebuffer we simply just skip these settings. Also added 1 byte alignment in case that changes.

@einarf einarf merged commit e26753e into development Mar 24, 2024
8 checks passed
@einarf einarf deleted the screen-read-fix branch March 24, 2024 21:02
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.

1 participant