Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index 6c2ec72c226fc50f3f20b016c130f9b5ff1e8d15..f701b4c8945952f619404479d11d226574b51bc9 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -20,6 +20,7 @@ |
#include "GrFragmentProcessor.h" |
#include "GrInvariantOutput.h" |
#include "GrPaint.h" |
+#include "SkGr.h" |
#include "effects/GrSingleTextureEffect.h" |
#include "glsl/GrGLSLFragmentProcessor.h" |
#include "glsl/GrGLSLFragmentShaderBuilder.h" |
@@ -424,7 +425,7 @@ bool SkLightingImageFilterInternal::filterImageGPU(Proxy* proxy, |
this->drawRect(drawContext, srcTexture, matrix, clip, bottom, kBottom_BoundaryMode, bounds); |
this->drawRect(drawContext, srcTexture, matrix, clip, bottomRight, |
kBottomRight_BoundaryMode, bounds); |
- WrapTexture(dst, bounds.width(), bounds.height(), result); |
+ GrWrapTextureInBitmap(dst, bounds.width(), bounds.height(), false, result); |
return true; |
} |
#endif |