1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fixed screen orientation on Android

This commit is contained in:
Szymon Majewski
2021-05-03 09:23:05 -07:00
parent af03e9c830
commit 5634093703
4 changed files with 23 additions and 1 deletions

View File

@@ -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);
}
}
}