aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/SkGpuDevice.h')
-rw-r--r--include/gpu/SkGpuDevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index 2bea0bf28c..bddf24ec3a 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -74,7 +74,9 @@ public:
virtual void gainFocus(SkCanvas*, const SkMatrix&, const SkRegion&,
const SkClipStack& clipStack);
- virtual SkGpuTexture* accessTexture() { return (SkGpuTexture*)fTexture; }
+ virtual SkGpuRenderTarget* accessRenderTarget() {
+ return (SkGpuRenderTarget*)fRenderTarget;
+ }
// overrides from SkDevice