diff options
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 693e9d9..3070e45 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2004,7 +2004,7 @@ bool SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const } // Never touch the framebuffer if we don't have any framebuffer layers -#ifdef QTI_BSP +#if defined(QTI_BSP) && defined(SDM_TARGET) const bool hasHwcComposition = hwc.hasHwcComposition(id) | (reinterpret_cast<ExHWComposer*>(&hwc))->getS3DFlag(id); #else |