Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Merge pull request #113225 from LanzaSchneider/disable-prefer-high-performance-gpu

Thaddeus Crews4d1bdd720927
diff --cc platform/windows/detect.py
index 4f6a726bf87,a85976999b3..e9f1775acd2
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@@ -271,8 -213,11 +271,11 @@@ def get_opts()
(
"pix_path",
"Path to the PIX runtime distribution (optional for D3D12)",
- os.path.join(d3d12_deps_folder, "pix"),
+ os.path.join(deps_folder, "pix"),
),
+ BoolVariable(
+ "prefer_high_performance_gpu", "Prefer high-performance GPU on NVIDIA Optimus/AMD PowerXpress systems", True
+ ),
]