internalDrawBitmap is using kShaderTextureIdx. It should be kBitmapTextureIdx. No functional change, both are names for 0.
git-svn-id: http://skia.googlecode.com/svn/trunk@2571 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 9923c8c..d758383 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -1247,7 +1247,7 @@
return;
}
- grPaint->setTexture(kShaderTextureIdx, texture);
+ grPaint->setTexture(kBitmapTextureIdx, texture);
GrRect dstRect = SkRect::MakeWH(GrIntToScalar(srcRect.width()),
GrIntToScalar(srcRect.height()));