Index: tests/TessellatingPathRendererTests.cpp |
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp |
index 1625bf200d5b2295ec6989106857628ed69d0bf3..0635e7f354535f855997653671c3477610cf8b28 100644 |
--- a/tests/TessellatingPathRendererTests.cpp |
+++ b/tests/TessellatingPathRendererTests.cpp |
@@ -220,6 +220,16 @@ static SkPath create_path_14() { |
return path; |
} |
+static SkPath create_path_15() { |
+ SkPath path; |
+ path.moveTo( 0.0f, 0.0f); |
+ path.lineTo(10000.0f, 0.0f); |
+ path.lineTo( 0.0f, -1.0f); |
+ path.lineTo(10000.0f, 0.000001f); |
+ path.lineTo( 0.0f, -30.0f); |
+ return path; |
+} |
+ |
static void test_path(GrDrawTarget* dt, GrRenderTarget* rt, const SkPath& path) { |
GrTessellatingPathRenderer tess; |
GrPipelineBuilder pipelineBuilder; |
@@ -259,5 +269,6 @@ DEF_GPUTEST(TessellatingPathRendererTests, reporter, factory) { |
test_path(dt, rt, create_path_12()); |
test_path(dt, rt, create_path_13()); |
test_path(dt, rt, create_path_14()); |
+ test_path(dt, rt, create_path_15()); |
} |
#endif |