You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Don't force GLES2 in Project Manager, causes issues on macOS.
This partially reverts #44041. Also fix the bogus label about lack of GLES3 support being always shown... It was meant to be behind a check but I had left it out while testing, and forgot to put it back.
This commit is contained in:
@@ -1030,11 +1030,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
GLOBAL_DEF("rendering/quality/driver/driver_name", "GLES3");
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("rendering/quality/driver/driver_name", PropertyInfo(Variant::STRING, "rendering/quality/driver/driver_name", PROPERTY_HINT_ENUM, "GLES2,GLES3"));
|
||||
if (video_driver == "") {
|
||||
if (project_manager) {
|
||||
video_driver = "GLES2"; // Force GLES2 for maximum compatibility, unless specified from command line.
|
||||
} else {
|
||||
video_driver = GLOBAL_GET("rendering/quality/driver/driver_name");
|
||||
}
|
||||
video_driver = GLOBAL_GET("rendering/quality/driver/driver_name");
|
||||
}
|
||||
|
||||
GLOBAL_DEF("rendering/quality/driver/fallback_to_gles2", false);
|
||||
|
||||
Reference in New Issue
Block a user