Unreviewed build fix

git-svn-id: http://skia.googlecode.com/svn/trunk@8373 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
sugoi@google.com 2013-03-25 20:14:08 +00:00
parent fe74765f0d
commit 2874906bf2

View File

@ -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;