Index: src/gpu/GrUserStencilSettings.h |
diff --git a/src/gpu/GrUserStencilSettings.h b/src/gpu/GrUserStencilSettings.h |
index a07a08300a72d5b8aa8441d6cb97511f87649217..32fb1396f94a427f58fc37d8ab6f5e1b6b169e73 100644 |
--- a/src/gpu/GrUserStencilSettings.h |
+++ b/src/gpu/GrUserStencilSettings.h |
@@ -188,6 +188,8 @@ struct GrUserStencilSettings { |
const Face fBack; |
static const GrUserStencilSettings& kUnused; |
+ |
+ bool isUnused() const { return this == &kUnused; } |
}; |
template<GrUserStencilTest Test, GrUserStencilOp PassOp, GrUserStencilOp FailOp> |