diff options
Diffstat (limited to 'include/core/SkShader.h')
-rw-r--r-- | include/core/SkShader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h index bf9fca557f..5efd46d595 100644 --- a/include/core/SkShader.h +++ b/include/core/SkShader.h @@ -65,8 +65,10 @@ public: /** only draw within the original domain, return 0 everywhere else */ kDecal_TileMode, #endif + }; - kTileModeCount + enum { + kTileModeCount = kMirror_TileMode + 1 }; // override these in your subclass |