Skip to content

Metal: Fix offscreen rendering in context driver.#117192

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
stuartcarnie:metal_fix_offscreen
Mar 9, 2026
Merged

Metal: Fix offscreen rendering in context driver.#117192
Repiteo merged 1 commit into
godotengine:masterfrom
stuartcarnie:metal_fix_offscreen

Conversation

@stuartcarnie
Copy link
Copy Markdown
Contributor

@stuartcarnie stuartcarnie commented Mar 7, 2026

Results in a crash when specifying the GODOT_MTL_OFF_SCREEN=1 environment variable. Introduced by #106814

Copy link
Copy Markdown
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't reproduce crash, but it is spamming pipeline creation errors which is fixed by this PR.

Note for testing: relevant env variable is GODOT_MTL_OFF_SCREEN (with underscore after OFF).

@stuartcarnie
Copy link
Copy Markdown
Contributor Author

Thanks @bruvzg – sorry for the misspelling of the environment variable. And you are right, it wasn't a crash, but it failed to create pipelines and spammed the logs.

@Repiteo Repiteo merged commit e4d0368 into godotengine:master Mar 9, 2026
20 checks passed
@Repiteo
Copy link
Copy Markdown
Contributor

Repiteo commented Mar 9, 2026

Thanks!

@stuartcarnie stuartcarnie deleted the metal_fix_offscreen branch March 12, 2026 05:20
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.

4 participants