From 9766ecd04f5829ff3d711bb32a687c65b4d68acc Mon Sep 17 00:00:00 2001 From: "rileya@google.com" Date: Tue, 14 Aug 2012 21:14:08 +0000 Subject: [PATCH] Fix for GPU-less Linux build: move #include GrTextureStripAtlas into SK_SUPPORT_GPU ifdefs. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@5102 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/effects/gradients/SkGradientShader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp index 176e6f886..ccf390963 100644 --- a/src/effects/gradients/SkGradientShader.cpp +++ b/src/effects/gradients/SkGradientShader.cpp @@ -12,7 +12,6 @@ #include "SkTwoPointRadialGradient.h" #include "SkTwoPointConicalGradient.h" #include "SkSweepGradient.h" -#include "effects/GrTextureStripAtlas.h" SkGradientShaderBase::SkGradientShaderBase(const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, SkUnitMapper* mapper) { @@ -673,6 +672,7 @@ SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END #if SK_SUPPORT_GPU +#include "effects/GrTextureStripAtlas.h" #include "SkGr.h" GrGLGradientStage::GrGLGradientStage(const GrProgramStageFactory& factory)