aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-14 14:45:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-14 14:45:44 +0000
commit84223118f7073a28f42c11ad08595e07c0ceb933 (patch)
tree83cfdf905579369ab4a7f287c4478279a56f291a /gpu
parent098e96df6ab0327f18537c7006ff2b0b4116ee30 (diff)
Remove some cruft from SampleApp.cpp
Review URL: http://codereview.appspot.com/4724042 git-svn-id: http://skia.googlecode.com/svn/trunk@1858 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu')
-rw-r--r--gpu/include/GrContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/include/GrContext.h b/gpu/include/GrContext.h
index d80aef21ef..0f69e0bdaa 100644
--- a/gpu/include/GrContext.h
+++ b/gpu/include/GrContext.h
@@ -693,6 +693,8 @@ public:
fContext->unlockTexture(fEntry);
}
}
+
+ GrTexture* texture() { return fEntry->texture(); }
private:
GrContext* fContext;
GrTextureEntry* fEntry;