aboutsummaryrefslogtreecommitdiff
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 7736653a91..aeb97c4635 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -118,7 +118,7 @@ static GrRenderTarget* random_render_target(GrContext* context, SkRandom* random
if (!texture) {
texture = context->createTexture(texDesc, true);
if (texture) {
- SkAssertResult(context->addResourceToCache(key, texture));
+ context->addResourceToCache(key, texture);
}
}
return texture ? texture->asRenderTarget() : NULL;