Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index e2546f77db036d4a45d3c777fa60329051629913..62e041a76dc6248546d93c6132cb6a9962d38b6d 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -408,8 +408,8 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
GrTexture* displacement = displacementBM.getTexture(); |
GrContext* context = color->getContext(); |
- GrTextureDesc desc; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit; |
+ GrSurfaceDesc desc; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag | kNoStencil_GrSurfaceFlag; |
desc.fWidth = bounds.width(); |
desc.fHeight = bounds.height(); |
desc.fConfig = kSkia8888_GrPixelConfig; |