Skip to content

Commit

Permalink
Merge pull request #67593 from clayjohn/GLES3-pm
Browse files Browse the repository at this point in the history
Default to Opengl3 driver when using the project manager
  • Loading branch information
akien-mga committed Nov 2, 2022
2 parents cb1931b + 150d365 commit 093dea2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 093dea2

Please sign in to comment.