Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index 0e67e81e863af88d73555ec5d1ec977713b7607e..3249793d6241baf5d76ab5dfd227d4cbbcf12410 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -126,9 +126,7 @@ void GrGLProgram::bindTextures(const GrGLInstalledProc* ip, const GrProcessor& p |
/////////////////////////////////////////////////////////////////////////////// |
-void GrGLProgram::setData(const GrOptDrawState& optState, |
- GrGpu::DrawType drawType, |
- const GrDeviceCoordTexture* dstCopy) { |
+void GrGLProgram::setData(const GrOptDrawState& optState, GrGpu::DrawType drawType) { |
GrColor color = optState.getColor(); |
uint8_t coverage = optState.getCoverage(); |
@@ -136,6 +134,7 @@ void GrGLProgram::setData(const GrOptDrawState& optState, |
this->setCoverage(optState, coverage); |
this->setMatrixAndRenderTargetHeight(drawType, optState); |
+ const GrDeviceCoordTexture* dstCopy = optState.getDstCopy(); |
if (dstCopy) { |
if (fBuiltinUniformHandles.fDstCopyTopLeftUni.isValid()) { |
fProgramDataManager.set2f(fBuiltinUniformHandles.fDstCopyTopLeftUni, |