diff options
Diffstat (limited to 'include/gpu/GrResourceKey.h')
-rw-r--r-- | include/gpu/GrResourceKey.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gpu/GrResourceKey.h b/include/gpu/GrResourceKey.h index 8ba1140765..2e7edab577 100644 --- a/include/gpu/GrResourceKey.h +++ b/include/gpu/GrResourceKey.h @@ -139,8 +139,9 @@ private: friend class TestResource; // For unit test to access kMetaDataCnt. - // bmp textures require 5 uint32_t values. - SkAutoSTMalloc<kMetaDataCnt + 5, uint32_t> fKey; + // bmp textures require 7 uint32_t values (5 for the base key, and two more for image + // cacherator's decode format. + SkAutoSTMalloc<kMetaDataCnt + 7, uint32_t> fKey; }; /** |