aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrResource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrResource.h')
-rw-r--r--include/gpu/GrResource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrResource.h b/include/gpu/GrResource.h
index 8008f29e34..4c491c7369 100644
--- a/include/gpu/GrResource.h
+++ b/include/gpu/GrResource.h
@@ -20,6 +20,8 @@ class GrContext;
*/
class GrResource : public GrRefCnt {
public:
+ DECLARE_INST_COUNT
+
/**
* Frees the resource in the underlying 3D API. It must be safe to call this
* when the resource has been previously abandoned.