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

@stuartcarnie stuartcarnie commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

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

@bruvzg bruvzg left a comment

Copy link
Copy Markdown
Member

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

Repiteo commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

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