mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Merge commit godotengine/godot@4d7c448a0a
This commit is contained in:
@@ -1333,10 +1333,14 @@ bool DisplayServer::is_rendering_device_supported() {
|
||||
|
||||
Error err;
|
||||
|
||||
#ifdef WINDOWS_ENABLED
|
||||
// On some NVIDIA drivers combining OpenGL and RenderingDevice can result in crash, offload the check to the subprocess.
|
||||
#if defined(WINDOWS_ENABLED) || defined(LINUXBSD_ENABLED)
|
||||
// On some drivers combining OpenGL and RenderingDevice can result in crash, offload the check to the subprocess.
|
||||
List<String> arguments;
|
||||
arguments.push_back("--test-rd-support");
|
||||
if (get_singleton()) {
|
||||
arguments.push_back("--display-driver");
|
||||
arguments.push_back(get_singleton()->get_name().to_lower());
|
||||
}
|
||||
|
||||
String pipe;
|
||||
int exitcode = 0;
|
||||
|
||||
Reference in New Issue
Block a user