diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-09 20:31:50 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-09 20:31:50 +0000 |
commit | d7b1af68deefe6e4ca5fa635625154c1e4f2eae6 (patch) | |
tree | 2e8397fbf8a9cedc6340dcdb3d3b518738ede275 /src/gpu/effects | |
parent | 8bbf6b92eec7f5e862b0544e313611ffccdd3927 (diff) |
cast -1 to Mode to avoid warning (enum compared to signed int)
git-svn-id: http://skia.googlecode.com/svn/trunk@12580 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrTextureDomain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp index 517eb6dce1..70d6159224 100644 --- a/src/gpu/effects/GrTextureDomain.cpp +++ b/src/gpu/effects/GrTextureDomain.cpp @@ -45,7 +45,7 @@ void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder, const SkString& inCoords, const GrGLEffect::TextureSampler sampler, const char* inModulateColor) { - SkASSERT(-1 == fMode || textureDomain.mode() == fMode); + SkASSERT((Mode)-1 == fMode || textureDomain.mode() == fMode); SkDEBUGCODE(fMode = textureDomain.mode();) if (kIgnore_Mode == textureDomain.mode()) { |