Fix overlay graphics detection
Change-Id: Ic1ef3f6a4e9c74efb07d8a0103543d124567f0d4
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user