diff options
author | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2021-02-18 01:54:35 -0800 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2021-02-18 03:20:49 -0800 |
commit | 526b99ee369c481496a026b0b9c5b4dddfd435bc (patch) | |
tree | 6e515a22e2638a820edb2b6412824312b69b9b10 /main | |
parent | bdf3c578ff1d382ccf0c6bd2cde1abf5393fda53 (diff) |
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.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 9489774dce..b437d2e4f3 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -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; |