diff options
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r-- | include/core/SkPaint.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index ea21ceb..f2df226 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -93,7 +93,10 @@ public: void setHinting(Hinting hintingLevel) { - fHinting = hintingLevel; + if ((unsigned) hintingLevel != fHinting) { + fGenerationID++; + fHinting = hintingLevel; + } } /** Specifies the bit values that are stored in the paint's flags. |