aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleApp.cpp
diff options
context:
space:
mode:
authorjoshualitt <joshualitt@chromium.org>2015-02-18 12:29:52 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-18 12:29:52 -0800
commit25d9c154087d2132a51d1ca74a104726f60ef380 (patch)
treeef43d8593418753e47805fff64da7c6b3741a3a3 /samplecode/SampleApp.cpp
parent5a105ff05303ac82a867b8b84a1edd145bd46218 (diff)
Pass Rendertarget into context.
Adding Jim for text context stuff, and Steven for image blur stuff. BUG=skia: Review URL: https://codereview.chromium.org/939623005
Diffstat (limited to 'samplecode/SampleApp.cpp')
-rw-r--r--samplecode/SampleApp.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 4c81d89ce4..2cad753817 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -292,7 +292,6 @@ public:
if (!IsGpuDeviceType(dType)) {
// need to send the raster bits to the (gpu) window
- fCurContext->setRenderTarget(fCurRenderTarget);
const SkBitmap& bm = win->getBitmap();
fCurRenderTarget->writePixels(0, 0, bm.width(), bm.height(),
SkImageInfo2GrPixelConfig(bm.colorType(),