aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-20 19:08:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-20 19:08:44 +0000
commitdaf12bb01a58e18056479687f22d09d79f66a7af (patch)
tree0fddddaf730344a26cedb571398a8d4419590f70
parent72ae6bd24eb72be13d5745129c16058e4d54e2f4 (diff)
Fix early termination of GM when 16x msaa rt can't be created.
git-svn-id: http://skia.googlecode.com/svn/trunk@3744 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--gm/gmmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 3855f2f2dc..7185a73962 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -845,7 +845,7 @@ int main(int argc, char * const argv[]) {
desc.fSampleCnt = gRec[i].fSampleCnt;
GrTexture* tex = gr->createUncachedTexture(desc, NULL, 0);
if (!tex) {
- return false;
+ continue;
}
rt.reset(tex->asRenderTarget());
rt.get()->ref();