diff options
Diffstat (limited to 'WebCore/platform/graphics/gpu/TexShader.cpp')
-rw-r--r-- | WebCore/platform/graphics/gpu/TexShader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/gpu/TexShader.cpp b/WebCore/platform/graphics/gpu/TexShader.cpp index 01f4306..d7ffa17 100644 --- a/WebCore/platform/graphics/gpu/TexShader.cpp +++ b/WebCore/platform/graphics/gpu/TexShader.cpp @@ -29,6 +29,9 @@ */ #include "config.h" + +#if ENABLE(ACCELERATED_2D_CANVAS) + #include "TexShader.h" #include "GraphicsContext3D.h" @@ -93,3 +96,5 @@ void TexShader::use(const AffineTransform& transform, const AffineTransform& tex } } + +#endif |