1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Disable engine splash logic on Android; this is now handled by the Android theme api.

In addition, add support for scaling and applying filter to the splash screen on Android.
One limitation of the api being used is that the splash screen aspect ratio is not maintained when it's scaled up.
This commit is contained in:
Fredia Huya-Kouadio
2021-02-18 01:54:35 -08:00
parent f30d827448
commit ef9d945e16
3 changed files with 31 additions and 6 deletions

View File

@@ -1307,7 +1307,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
MAIN_PRINT("Main: Setup Logo");
#ifdef JAVASCRIPT_ENABLED
#if defined(JAVASCRIPT_ENABLED) || defined(ANDROID_ENABLED)
bool show_logo = false;
#else
bool show_logo = true;