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
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 6f5d49d..a5674a5 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -1895,6 +1895,7 @@
" 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."