You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix new projects always being created with OpenGL
Only Vulkan is fully implemented for now, so OpenGL isn't available in the project manager yet. This also makes the rendering driver checks use lowercase names everywhere for consistency.
This commit is contained in:
@@ -1612,11 +1612,11 @@ Vector<String> EditorExportPlatformAndroid::get_enabled_abis(const Ref<EditorExp
|
||||
|
||||
void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) {
|
||||
String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name");
|
||||
if (driver == "OpenGL3") {
|
||||
if (driver == "opengl3") {
|
||||
r_features->push_back("etc");
|
||||
}
|
||||
// FIXME: Review what texture formats are used for Vulkan.
|
||||
if (driver == "Vulkan") {
|
||||
if (driver == "vulkan") {
|
||||
r_features->push_back("etc2");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user