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

Commit e689995b authored by Sridhar Gujje's avatar Sridhar Gujje Committed by Gerrit - the friendly Code Review server
Browse files

frameworks/base: Fix for compilation issue

adding compilation fix for renderer

Change-Id: I39af454c991d409a3694ecf68075559eba065e7e
parent 294526af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -806,8 +806,10 @@ public:
            paint->setLooper(NULL);
        }
        else {
            #ifdef USE_OPENGL_RENDERER
            SkScalar sigma = android::uirenderer::Blur::convertRadiusToSigma(radius);
            paint->setLooper(SkBlurDrawLooper::Create((SkColor)color, sigma, dx, dy))->unref();
            #endif
        }
    }