1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +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 bdf3c578ff
commit 526b99ee36
3 changed files with 31 additions and 6 deletions

View File

@@ -1602,7 +1602,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;