mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Remove duplicate orientation settings in the iOS export preset
The screen orientation is now sourced from the Project Settings like it is done for Android already.
This commit is contained in:
@@ -855,7 +855,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
|
||||
int version_code = p_preset->get("version/code");
|
||||
String package_name = p_preset->get("package/unique_name");
|
||||
|
||||
const int screen_orientation = _get_android_orientation_value(_get_screen_orientation());
|
||||
const int screen_orientation = _get_android_orientation_value(
|
||||
OS::get_singleton()->get_screen_orientation_from_string(GLOBAL_GET("display/window/handheld/orientation")));
|
||||
|
||||
bool min_gles3 = ProjectSettings::get_singleton()->get("rendering/quality/driver/driver_name") == "GLES3" &&
|
||||
!ProjectSettings::get_singleton()->get("rendering/quality/driver/fallback_to_gles2");
|
||||
|
||||
Reference in New Issue
Block a user