Chromium Code Reviews| Index: src/gpu/effects/GrTextureDomainEffect.cpp |
| =================================================================== |
| --- src/gpu/effects/GrTextureDomainEffect.cpp (revision 8674) |
| +++ src/gpu/effects/GrTextureDomainEffect.cpp (working copy) |
| @@ -126,6 +126,7 @@ |
| } |
| if (0 != memcmp(values, fPrevDomain, 4 * sizeof(GrGLfloat))) { |
| uman.set4fv(fNameUni, 0, 1, values); |
| + memcpy(fPrevDomain, values, 4 * sizeof(GrGLfloat)); |
| } |
| fEffectMatrix.setData(uman, |
| texDom.getMatrix(), |