diff options
Diffstat (limited to 'src/core/SkBitmapProcShader.cpp')
-rw-r--r-- | src/core/SkBitmapProcShader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp index dd97380bbd..6c9410ee32 100644 --- a/src/core/SkBitmapProcShader.cpp +++ b/src/core/SkBitmapProcShader.cpp @@ -174,7 +174,7 @@ void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan(int x, int y, SkPMCo int count) { const SkBitmapProcState& state = *fState; if (state.getShaderProc32()) { - state.getShaderProc32()(state, x, y, dstC, count); + state.getShaderProc32()(&state, x, y, dstC, count); return; } @@ -225,7 +225,7 @@ void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan16(int x, int y, uint int count) { const SkBitmapProcState& state = *fState; if (state.getShaderProc16()) { - state.getShaderProc16()(state, x, y, dstC, count); + state.getShaderProc16()(&state, x, y, dstC, count); return; } |