Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 9b54fa7e9d43f6396e1dfe876388a7ede0536883..c3050458e548ddb9519c1b0917962bb3a2824169 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -116,7 +116,7 @@ static GrRenderTarget* random_render_target(GrContext* context, SkRandom* random |
GrTexture* texture = context->findAndRefCachedTexture(key); |
if (!texture) { |
- texture = context->createTexture(texDesc); |
+ texture = context->createTexture(texDesc, true); |
if (texture) { |
SkAssertResult(context->addResourceToCache(key, texture)); |
} |