aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-10 18:02:09 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-10 18:02:09 +0000
commitf6962e458c9e6db93026dd032e39769d9bf65363 (patch)
tree2364b2eba4edf2989e21f64708971a94680487c7 /src
parent547e5be01ca99961df5bb1f3802f4b82f15ba0d3 (diff)
disable cheap check while its being debugged
git-svn-id: http://skia.googlecode.com/svn/trunk@2998 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkStroke.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkStroke.cpp b/src/core/SkStroke.cpp
index 1ec3a57dce..a7452beb99 100644
--- a/src/core/SkStroke.cpp
+++ b/src/core/SkStroke.cpp
@@ -619,11 +619,15 @@ void SkStroke::strokePath(const SkPath& src, SkPath* dst) const {
#endif
if (fDoFill) {
+#if 0 // while I debug this
if (src.cheapIsDirection(SkPath::kCW_Direction)) {
dst->reverseAddPath(src);
} else {
dst->addPath(src);
}
+#else
+ dst->addPath(src);
+#endif
} else {
// Seems like we can assume that a 2-point src would always result in
// a convex stroke, but testing has proved otherwise.