Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d738d1be authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix hwui compile error only seen with debug switch."

parents e061a790 116c376c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -88,7 +88,7 @@ bool OpenGLPipeline::draw(const Frame& frame, const SkRect& screenDirty, const S
    caches.tessellationCache.trim();
    caches.tessellationCache.trim();


#if DEBUG_MEMORY_USAGE
#if DEBUG_MEMORY_USAGE
    mCaches.dumpMemoryUsage();
    caches.dumpMemoryUsage();
#else
#else
    if (CC_UNLIKELY(Properties::debugLevel & kDebugMemory)) {
    if (CC_UNLIKELY(Properties::debugLevel & kDebugMemory)) {
        caches.dumpMemoryUsage();
        caches.dumpMemoryUsage();