summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {