diff options
author | Szymon Majewski <szymonm@google.com> | 2021-05-03 09:23:05 -0700 |
---|---|---|
committer | Szymon Majewski <szymonm@google.com> | 2021-05-24 16:58:35 -0700 |
commit | 563409370361b0a507402de2c38ee4b2df1050ef (patch) | |
tree | 6d43ecf043db1e08c8795fee6b1b25ed60c07bc4 /platform/android/java_godot_lib_jni.cpp | |
parent | af03e9c83018b47cb82da67e5f8e277b29b82d66 (diff) |
Fixed screen orientation on Android
Diffstat (limited to 'platform/android/java_godot_lib_jni.cpp')
-rw-r--r-- | platform/android/java_godot_lib_jni.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp index 0c342dc280..c7ff6cb2c0 100644 --- a/platform/android/java_godot_lib_jni.cpp +++ b/platform/android/java_godot_lib_jni.cpp @@ -173,6 +173,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_resize(JNIEnv *env, j os_android->set_native_window(native_window); DisplayServerAndroid::get_singleton()->reset_window(); + DisplayServerAndroid::get_singleton()->notify_surface_changed(p_width, p_height); } } } |