diff options
-rw-r--r-- | libs/hwui/DisplayListRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp index 7e19932..92207b1 100644 --- a/libs/hwui/DisplayListRenderer.cpp +++ b/libs/hwui/DisplayListRenderer.cpp @@ -962,7 +962,7 @@ status_t DisplayList::replay(OpenGLRenderer& renderer, Rect& dirty, int32_t flag float x = getFloat(); float y = getFloat(); SkPaint* paint = getPaint(renderer); - if (mCaching && mMultipliedAlpha < 255) { + if (mCaching) { paint->setAlpha(mMultipliedAlpha); } DISPLAY_LIST_LOGD("%s%s %p, %.2f, %.2f, %p", (char*) indent, OP_NAMES[op], @@ -975,7 +975,7 @@ status_t DisplayList::replay(OpenGLRenderer& renderer, Rect& dirty, int32_t flag float x = getFloat(); float y = getFloat(); SkPaint* paint = getPaint(renderer); - if (mCaching && mMultipliedAlpha < 255) { + if (mCaching) { paint->setAlpha(mMultipliedAlpha); } DISPLAY_LIST_LOGD("%s%s %p, %.2f, %.2f, %p", (char*) indent, OP_NAMES[op], |