diff options
Diffstat (limited to 'tools/flags/SkCommonFlagsPathRenderer.h')
-rw-r--r-- | tools/flags/SkCommonFlagsPathRenderer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/flags/SkCommonFlagsPathRenderer.h b/tools/flags/SkCommonFlagsPathRenderer.h index ac293a1e79..0a53beb889 100644 --- a/tools/flags/SkCommonFlagsPathRenderer.h +++ b/tools/flags/SkCommonFlagsPathRenderer.h @@ -46,6 +46,8 @@ inline GrContextOptions::GpuPathRenderers get_named_pathrenderers_flags(const ch return GpuPathRenderers::kTessellating; } else if (!strcmp(name, "grdefault")) { return GpuPathRenderers::kDefault; + } else if (!strcmp(name, "none")) { + return GpuPathRenderers::kNone; } SK_ABORT(SkStringPrintf("error: unknown named path renderer \"%s\"\n", name).c_str()); return GpuPathRenderers::kNone; |