diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-17 18:33:46 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-17 18:33:46 +0000 |
commit | 91217d0b0cdf80a1f18ca24d49e4a925d4629f1f (patch) | |
tree | c673b79bfa914a0ae358d5b23e10c84b9872bd62 /tools | |
parent | d4be5dd36c1e8618c756d6b67edb422d29ae608e (diff) |
Making SkDrawCommand more robust
https://codereview.appspot.com/7486052/
git-svn-id: http://skia.googlecode.com/svn/trunk@8181 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r-- | tools/filtermain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp index 74cf42705f..5d7241e1c3 100644 --- a/tools/filtermain.cpp +++ b/tools/filtermain.cpp @@ -238,7 +238,7 @@ static void apply_3(SkTDArray<SkDrawCommand*>& commands, int curCommand) { restore->setVisible(false); // TODO: could skip paint re-creation if the AA settings already match - SkPaint newPaint = *dr->paint(); + SkPaint newPaint = dr->paint(); newPaint.setAntiAlias(crr->doAA()); DrawRRect* drr = new DrawRRect(crr->rrect(), newPaint); commands[curCommand+2] = drr; |