aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 19:57:11 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 19:57:11 +0000
commit30df03ce784868b5920ed385e6e516b132606f37 (patch)
tree7fbde0457a7288fd82919ad2dfbbc2a46a219c67 /src/core
parent08bc50854b9b9c4f6ceba18433da3f1c3f58385e (diff)
forgot to guard GPU includes when SK_SUPPORT_GPU not defined
git-svn-id: http://skia.googlecode.com/svn/trunk@11089 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkBitmapProcShader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp
index 70b5212b95..3f657156f4 100644
--- a/src/core/SkBitmapProcShader.cpp
+++ b/src/core/SkBitmapProcShader.cpp
@@ -11,8 +11,10 @@
#include "SkErrorInternals.h"
#include "SkBitmapProcShader.h"
+#if SK_SUPPORT_GPU
#include "effects/GrSimpleTextureEffect.h"
#include "effects/GrBicubicEffect.h"
+#endif
bool SkBitmapProcShader::CanDo(const SkBitmap& bm, TileMode tx, TileMode ty) {
switch (bm.config()) {