aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gmmain.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-11 19:22:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-11 19:22:44 +0000
commit42db2e45137cf93bb1df7f9a1d4f71d45a3e8bd5 (patch)
treebc0a7de219e98020136b4c92584d85ee25db3693 /gm/gmmain.cpp
parent8af0371fe22e166daae1eec3cc75f1a0e69228be (diff)
Fixes to make the gm run when GrContext can't be created for ANGLE context.
git-svn-id: http://skia.googlecode.com/svn/trunk@9510 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r--gm/gmmain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 6f5d49d35b..a5674a5568 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -1895,6 +1895,7 @@ int tool_main(int argc, char** argv) {
" Config will be skipped.\n", gRec[index].fName);
configs.remove(i);
--i;
+ continue;
}
if (gRec[index].fSampleCnt > ctx->getMaxSampleCount()) {
gm_fprintf(stderr, "Sample count (%d) of config %s is not supported."