commit | daf12bb01a58e18056479687f22d09d79f66a7af | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 20 19:08:44 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 20 19:08:44 2012 +0000 |
tree | 0fddddaf730344a26cedb571398a8d4419590f70 | |
parent | 72ae6bd24eb72be13d5745129c16058e4d54e2f4 [diff] [blame] |
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
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 3855f2f..7185a73 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp
@@ -845,7 +845,7 @@ desc.fSampleCnt = gRec[i].fSampleCnt; GrTexture* tex = gr->createUncachedTexture(desc, NULL, 0); if (!tex) { - return false; + continue; } rt.reset(tex->asRenderTarget()); rt.get()->ref();