lottie/render: fixed transparency issue in renderer. 15/186415/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 9 Aug 2018 10:39:01 +0000 (19:39 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Thu, 9 Aug 2018 10:39:01 +0000 (19:39 +0900)
Change-Id: I8c1128b5cdd46718deeff6eda21663699dfd4b4c

src/vector/vdrawhelper.cpp

index 2b07529..ee421e0 100644 (file)
@@ -459,7 +459,7 @@ static inline Operator getOperator(const VSpanData * data,
 
     switch (data->mType) {
     case VSpanData::Type::Solid:
-        solidSource = vAlpha(data->mSolid) & 0xFF;
+        solidSource = (vAlpha(data->mSolid) == 255);
         op.srcFetch = nullptr;
         break;
     case VSpanData::Type::LinearGradient: