aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleBitmapRect.cpp
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-09-06 19:34:13 +0000
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-09-06 19:34:13 +0000
commitb636adf980c03013d5d97f49e6d2b456df9ea43f (patch)
tree9a44abfb21273c29275592a32ce3d8255ae10079 /samplecode/SampleBitmapRect.cpp
parentb67052596f8abebbbc6399c682b20a7dffeeecef (diff)
reimage ninepatch-stretch with white bg (for easier printing)
git-svn-id: http://skia.googlecode.com/svn/trunk@2225 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleBitmapRect.cpp')
-rw-r--r--samplecode/SampleBitmapRect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleBitmapRect.cpp b/samplecode/SampleBitmapRect.cpp
index 16f9ba7482..95ea1a7591 100644
--- a/samplecode/SampleBitmapRect.cpp
+++ b/samplecode/SampleBitmapRect.cpp
@@ -66,7 +66,7 @@ protected:
}
virtual void onDrawContent(SkCanvas* canvas) {
- GrContext* ctx = NULL;//SampleCode::GetGr();
+ GrContext* ctx = SampleCode::GetGr();
const SkIRect src[] = {
{ 0, 0, 32, 32 },