Skip to content

Fix CGL headless screenshots to read from FBO color attachment - #377

Open
camierjs wants to merge 1 commit into
masterfrom
fix-cgl-headless-screenshot
Open

Fix CGL headless screenshots to read from FBO color attachment#377
camierjs wants to merge 1 commit into
masterfrom
fix-cgl-headless-screenshot

Conversation

@camierjs

@camierjs camierjs commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

On macOS CGL headless, the window renders into an FBO.
Screenshot still calls glReadBuffer(GL_BACK) which is invalid for a bound FBO, so OpenGL asserts with an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant