Unreviewed build fix
git-svn-id: http://skia.googlecode.com/svn/trunk@8373 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
fe74765f0d
commit
2874906bf2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user