From 2874906bf2ae9041ef8cd46394d0f37d4e6b6a54 Mon Sep 17 00:00:00 2001 From: "sugoi@google.com" Date: Mon, 25 Mar 2013 20:14:08 +0000 Subject: [PATCH] Unreviewed build fix git-svn-id: http://skia.googlecode.com/svn/trunk@8373 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/effects/SkPerlinNoiseShader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp index 0317c4c..9b403ad 100644 --- a/src/effects/SkPerlinNoiseShader.cpp +++ b/src/effects/SkPerlinNoiseShader.cpp @@ -938,8 +938,9 @@ GrEffectRef* SkPerlinNoiseShader::asNewEffect(GrContext* context, const SkPaint& context, *fPaintingData->getNoiseBitmap(), NULL); GrEffectRef* effect = (NULL != permutationsTexture) && (NULL != noiseTexture) ? - GrPerlinNoiseEffect::Create(fType, fPaintingData->fBaseFrequency, fNumOctaves, - fStitchTiles, fPaintingData->fStitchDataInit, + GrPerlinNoiseEffect::Create(fType, fPaintingData->fBaseFrequency, + SkIntToScalar(fNumOctaves), fStitchTiles, + fPaintingData->fStitchDataInit, permutationsTexture, noiseTexture, this->getLocalMatrix(), paint.getAlpha()) : NULL; -- 2.7.4