diff options
author | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-25 20:14:08 +0000 |
---|---|---|
committer | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-25 20:14:08 +0000 |
commit | 2874906bf2ae9041ef8cd46394d0f37d4e6b6a54 (patch) | |
tree | d285d38a52a9952a91776099863d40e4bc2fbb26 /src | |
parent | fe74765f0d302669ae49e68074492bdfe0ce6e6f (diff) |
Unreviewed build fix
git-svn-id: http://skia.googlecode.com/svn/trunk@8373 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/effects/SkPerlinNoiseShader.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp index 0317c4c963..9b403adbf0 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; |