From 452943d9b74ac66a2d99539eaa1cae48cb5de187 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Mon, 31 Oct 2011 17:37:14 +0000 Subject: 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 --- src/gpu/SkGpuDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 9923c8c7b4..d75838350e 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1247,7 +1247,7 @@ void SkGpuDevice::internalDrawBitmap(const SkDraw& draw, return; } - grPaint->setTexture(kShaderTextureIdx, texture); + grPaint->setTexture(kBitmapTextureIdx, texture); GrRect dstRect = SkRect::MakeWH(GrIntToScalar(srcRect.width()), GrIntToScalar(srcRect.height())); -- cgit v1.2.3