mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Merge pull request #67593 from clayjohn/GLES3-pm
Default to Opengl3 driver when using the project manager
This commit is contained in:
commit
093dea21e0
@ -1543,6 +1543,11 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
if (default_renderer_mobile.is_empty()) {
|
||||
default_renderer_mobile = "gl_compatibility";
|
||||
}
|
||||
// Default to Compatibility when using the project manager.
|
||||
if (rendering_driver.is_empty() && rendering_method.is_empty() && project_manager) {
|
||||
rendering_driver = "opengl3";
|
||||
rendering_method = "gl_compatibility";
|
||||
}
|
||||
#endif
|
||||
if (renderer_hints.is_empty()) {
|
||||
ERR_PRINT("No renderers available.");
|
||||
|
Loading…
Reference in New Issue
Block a user