Index: src/gpu/glsl/GrGLSLFragmentProcessor.cpp |
diff --git a/src/gpu/glsl/GrGLSLFragmentProcessor.cpp b/src/gpu/glsl/GrGLSLFragmentProcessor.cpp |
index 46945bdc6baa5e0e4f89abd2e83cab8116c5738f..9a58db77bd6cd1430f58bd8f7097b00fbbe36e6a 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentProcessor.cpp |
+++ b/src/gpu/glsl/GrGLSLFragmentProcessor.cpp |
@@ -82,11 +82,11 @@ void GrGLSLFragmentProcessor::internalEmitChild(int childIndex, const char* inpu |
firstTextureAt += args.fFp.childProcessor(i).numTextures(); |
firstBufferAt += args.fFp.childProcessor(i).numBuffers(); |
} |
- GrGLSLTransformedCoordsArray childCoords; |
+ SkTArray<GrShaderVar> childCoords; |
const SamplerHandle* childTexSamplers = nullptr; |
const SamplerHandle* childBufferSamplers = nullptr; |
if (childProc.numTransforms() > 0) { |
- childCoords.push_back_n(childProc.numTransforms(), &args.fCoords[firstCoordAt]); |
+ childCoords.push_back_n(childProc.numTransforms(), &args.fTransformedCoords[firstCoordAt]); |
} |
if (childProc.numTextures() > 0) { |
childTexSamplers = &args.fTexSamplers[firstTextureAt]; |