diff options
author | 2011-05-27 16:42:30 +0000 | |
---|---|---|
committer | 2011-05-27 16:42:30 +0000 | |
commit | d7beab42527fb03e3b86b9016665fd9aebc74265 (patch) | |
tree | 5d04dde07d344d8ad6b166d22c239afe2e7b3bfd | |
parent | b8b0983c9e06771154accb0c50570b0cc6f138cc (diff) |
Fix copy/paste bug that checks same stencil field twice in isDisabled().
git-svn-id: http://skia.googlecode.com/svn/trunk@1442 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/include/GrStencil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/include/GrStencil.h b/gpu/include/GrStencil.h index b014ee5586..44a390d3fc 100644 --- a/gpu/include/GrStencil.h +++ b/gpu/include/GrStencil.h @@ -159,7 +159,7 @@ struct GrStencilSettings { return kKeep_StencilOp == fFrontPassOp && kKeep_StencilOp == fBackPassOp && kKeep_StencilOp == fFrontFailOp && - kKeep_StencilOp == fFrontFailOp && + kKeep_StencilOp == fBackFailOp && kAlways_StencilFunc == fFrontFunc && kAlways_StencilFunc == fBackFunc; } |