From daf12bb01a58e18056479687f22d09d79f66a7af Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Fri, 20 Apr 2012 19:08:44 +0000 Subject: 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 --- gm/gmmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3