From 526b99ee369c481496a026b0b9c5b4dddfd435bc Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Thu, 18 Feb 2021 01:54:35 -0800 Subject: 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. --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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; -- cgit v1.2.3