From b0425385b13c7ab07082e7fa32ace826c5bf7b40 Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Thu, 3 Apr 2014 00:10:03 +0000 Subject: Fix overlay graphics detection Change-Id: Ic1ef3f6a4e9c74efb07d8a0103543d124567f0d4 --- minuitwrp/graphics.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3