aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrTexture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index d4a7cc61e0..2ccd3014f8 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -10,6 +10,7 @@
#define GrTexture_DEFINED
#include "GrSurface.h"
+#include "GrCacheID.h"
class GrRenderTarget;
class GrResourceKey;
@@ -30,6 +31,7 @@ class GrTexture : public GrSurface {
public:
SK_DECLARE_INST_COUNT(GrTexture)
+ GR_DECLARE_RESOURCE_CACHE_TYPE()
// from GrResource
/**