aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GLProgramsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-rw-r--r--tests/GLProgramsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 30f34587a4..08222bf32e 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));
}