aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/Intersection/EdgeDemoApp.mm
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/Intersection/EdgeDemoApp.mm')
-rw-r--r--experimental/Intersection/EdgeDemoApp.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/Intersection/EdgeDemoApp.mm b/experimental/Intersection/EdgeDemoApp.mm
index 67dc6138a6..41dea67a4b 100644
--- a/experimental/Intersection/EdgeDemoApp.mm
+++ b/experimental/Intersection/EdgeDemoApp.mm
@@ -12,12 +12,12 @@ public:
SkSampleView() {
this->setVisibleP(true);
this->setClipToBounds(false);
- useOld = true;
+ useOld = false;
};
protected:
virtual void onDraw(SkCanvas* canvas) {
- static int step = 9658; // 17909 ; // drawLetters first error
- // drawStars triggers error at 23275
+ static int step = 17907; // 17907 drawLetters first error
+ // drawStars triggers error at 33348
// drawStars error not easy to debug last time I checked
static double seconds;
if (step == -1) {
@@ -29,7 +29,7 @@ protected:
canvas->drawColor(SK_ColorWHITE);
if (DrawEdgeDemo(canvas, step, useOld)) {
++step;
- if (step == 23270) {
+ if (step == -1) {
timeval t;
gettimeofday(&t, NULL);
double last = seconds;