mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Metal: Use correct environment variable to generate labels
This commit is contained in:
parent
e1b4101e34
commit
bdbc97ecbb
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ RenderingContextDriverMetal::~RenderingContextDriverMetal() {
|
|||
}
|
||||
|
||||
Error RenderingContextDriverMetal::initialize() {
|
||||
if (OS::get_singleton()->get_environment(U"METAL_DEVICE_WRAPPER_TYPE") == "1") {
|
||||
if (OS::get_singleton()->get_environment("MTL_CAPTURE_ENABLED") == "1") {
|
||||
capture_available = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue