surfaceflinger: Correct QTI_BSP ifdef
* Should be #ifdef, not #if REF: CRACKLING-938 Change-Id: Iaa203413eaf404ba03ba2eb640f6ca93fd8c901d
This commit is contained in:
parent
7c2be690f4
commit
5cb1d7fab2
@ -174,7 +174,7 @@ bool DisplayUtils::canAllocateHwcDisplayIdForVDS(int usage) {
|
|||||||
// on AOSP builds with QTI_BSP disabled, we should allocate hwc display id for virtual display
|
// on AOSP builds with QTI_BSP disabled, we should allocate hwc display id for virtual display
|
||||||
int flag_mask = 0xffffffff;
|
int flag_mask = 0xffffffff;
|
||||||
|
|
||||||
#if QTI_BSP
|
#ifdef QTI_BSP
|
||||||
// Reserve hardware acceleration for WFD use-case
|
// Reserve hardware acceleration for WFD use-case
|
||||||
flag_mask = GRALLOC_USAGE_PRIVATE_WFD;
|
flag_mask = GRALLOC_USAGE_PRIVATE_WFD;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user