summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-04-03 02:10:03 +0200
committerDees Troy <dees_troy@teamw.in>2014-04-03 02:10:03 +0200
commitb0425385b13c7ab07082e7fa32ace826c5bf7b40 (patch)
treebf879713c5eeabaa53b00e366e12f091f0a9d570
parentFix backup and restore of encrypted backups (diff)
downloadandroid_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.tar
android_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.tar.gz
android_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.tar.bz2
android_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.tar.lz
android_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.tar.xz
android_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.tar.zst
android_bootable_recovery-b0425385b13c7ab07082e7fa32ace826c5bf7b40.zip
-rw-r--r--minuitwrp/graphics.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/minuitwrp/graphics.c b/minuitwrp/graphics.c
index bd611b380..594592d69 100644
--- a/minuitwrp/graphics.c
+++ b/minuitwrp/graphics.c
@@ -246,11 +246,13 @@ static int get_framebuffer(GGLSurface *fb)
return -1;
}
+#ifdef MSM_BSP
has_overlay = target_has_overlay(fi.id);
-#ifdef MSM_BSP
if (isTargetMdp5())
setDisplaySplit();
+#else
+ has_overlay = false;
#endif
if (!has_overlay) {