diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-11 17:29:58 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-11 17:29:58 +0000 |
commit | f475a331463de6ba2a27dee5c58f523902d7e4c6 (patch) | |
tree | 9d71c263a00440bb5341baffa66a85c24be521c1 /src/gpu/SkGpuDevice.cpp | |
parent | 25a61c37b72edba08bbf8e2a6456284b0d1cf55b (diff) |
Remove dead debug code.
Review URL: http://codereview.appspot.com/4521056/
git-svn-id: http://skia.googlecode.com/svn/trunk@1300 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 563dde74e2..5b4f529bdb 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -391,8 +391,6 @@ bool SkGpuDevice::skPaint2GrPaintShader(const SkPaint& skPaint, SkShader* shader = skPaint.getShader(); if (NULL == shader) { return this->skPaint2GrPaintNoShader(skPaint, false, grPaint); - grPaint->setTexture(NULL); - return true; } else if (!this->skPaint2GrPaintNoShader(skPaint, true, grPaint)) { return false; } |