From f475a331463de6ba2a27dee5c58f523902d7e4c6 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 11 May 2011 17:29:58 +0000 Subject: [PATCH] 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 --- src/gpu/SkGpuDevice.cpp | 2 -- 1 file changed, 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; }