aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawState.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r--src/gpu/GrDrawState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 78739ec680..6cefd97761 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -411,6 +411,8 @@ public:
}
}
+ bool isSet() const { return NULL != fDrawState; }
+
private:
GrDrawState* fDrawState;
int fColorEffectCnt;