aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleBitmapRect.cpp
diff options
context:
space:
mode:
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 },