aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-11 17:29:58 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-11 17:29:58 +0000
commitf475a331463de6ba2a27dee5c58f523902d7e4c6 (patch)
tree9d71c263a00440bb5341baffa66a85c24be521c1 /src/gpu/SkGpuDevice.cpp
parent25a61c37b72edba08bbf8e2a6456284b0d1cf55b (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.cpp2
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;
}