Fix overlay graphics detection

Change-Id: Ic1ef3f6a4e9c74efb07d8a0103543d124567f0d4
This commit is contained in:
Dees Troy
2014-04-03 00:10:03 +00:00
parent 924a80b7b3
commit b0425385b1
+3 -1
View File
@@ -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) {