diff options
author | 2012-08-14 21:14:08 +0000 | |
---|---|---|
committer | 2012-08-14 21:14:08 +0000 | |
commit | 9766ecd04f5829ff3d711bb32a687c65b4d68acc (patch) | |
tree | 8f89293841f4d638e1063c9431f3bb3df1add73b /src/effects/gradients/SkGradientShader.cpp | |
parent | 50b2bcf321d0a6657679c26cfcf703b746cf0660 (diff) |
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
Diffstat (limited to 'src/effects/gradients/SkGradientShader.cpp')
-rw-r--r-- | src/effects/gradients/SkGradientShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp index 176e6f8868..ccf390963f 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) |