diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-12-08 16:08:58 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-12-08 16:08:58 +0000 |
commit | 321795e102df3ed8d38eca97e22052170f8793d2 (patch) | |
tree | 38869c4dd3d6ac517386b36ec31d447abcbe682e /src/gpu | |
parent | 0fec61d19ca9088d54f58bd0a67150171b83d66c (diff) |
Fix assert
git-svn-id: http://skia.googlecode.com/svn/trunk@2831 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrDrawState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 8be4f3fcfb..24a48c1a03 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -184,7 +184,7 @@ struct GrDrawState { * are color-computing). */ void setFirstCoverageStage(int firstCoverageStage) { - GrAssert((unsigned)firstCoverageStage < kNumStages); + GrAssert((unsigned)firstCoverageStage <= kNumStages); fFirstCoverageStage = firstCoverageStage; } |