Index: src/effects/SkColorCubeFilter.cpp |
diff --git a/src/effects/SkColorCubeFilter.cpp b/src/effects/SkColorCubeFilter.cpp |
index f4ffefc8891284f9e6eec28997b6de57b1c16c75..df9f5ea6efbac8811bebfcfa107a102bbbbb3152 100644 |
--- a/src/effects/SkColorCubeFilter.cpp |
+++ b/src/effects/SkColorCubeFilter.cpp |
@@ -356,7 +356,7 @@ GrFragmentProcessor* SkColorCubeFilter::asFragmentProcessor(GrContext* context) |
SkAutoTUnref<GrTexture> textureCube(context->findAndRefCachedTexture(key)); |
if (!textureCube) { |
- textureCube.reset(context->createTexture(desc, fCubeData->data(), 0)); |
+ textureCube.reset(context->createTexture(desc, true, fCubeData->data(), 0)); |
if (textureCube) { |
SkAssertResult(context->addResourceToCache(key, textureCube)); |
} |