aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src
diff options
context:
space:
mode:
authorGravatar kbr@chromium.org <kbr@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-07 01:27:01 +0000
committerGravatar kbr@chromium.org <kbr@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-07 01:27:01 +0000
commit120bdffcf074ae06a3489e9d61d4dc28d61e1bbc (patch)
tree723773fedb358e8d2be9c32ef5645019feeebef1 /gpu/src
parent8d430185e08d2067584837a76b7193b803fee7a0 (diff)
Committing on behalf of gman@chromium.org:
Fix for putImageData TEST=manually ran tests that were failing BUG=84165 TBR=reed@google.com Code review URL: http://codereview.appspot.com/4570042 git-svn-id: http://skia.googlecode.com/svn/trunk@1518 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src')
-rw-r--r--gpu/src/GrContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/src/GrContext.cpp b/gpu/src/GrContext.cpp
index dae1cd14ab..3c74b83561 100644
--- a/gpu/src/GrContext.cpp
+++ b/gpu/src/GrContext.cpp
@@ -1302,6 +1302,7 @@ void GrContext::writePixels(int left, int top, int width, int height,
matrix.setTranslate(GrIntToScalar(left), GrIntToScalar(top));
fGpu->setViewMatrix(matrix);
+ fGpu->setColorFilter(0, SkXfermode::kDst_Mode);
fGpu->disableState(GrDrawTarget::kClip_StateBit);
fGpu->setAlpha(0xFF);
fGpu->setBlendFunc(kOne_BlendCoeff,