aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGpuGL_program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGpuGL_program.cpp')
-rw-r--r--src/gpu/gl/GrGpuGL_program.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp
index a7187d548c..af9bb054a4 100644
--- a/src/gpu/gl/GrGpuGL_program.cpp
+++ b/src/gpu/gl/GrGpuGL_program.cpp
@@ -480,7 +480,8 @@ bool GrGpuGL::flushGraphicsState(DrawType type) {
this->getDrawState().getTexture(s));
fProgramData->fCustomStage[s]->setData(
this->glInterface(),
- *sampler.getCustomStage(), s);
+ *sampler.getCustomStage(),
+ drawState.getRenderTarget(), s);
}
}
}