Fixed screen orientation on Android
This commit is contained in:
parent
af03e9c830
commit
5634093703
4 changed files with 23 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue