aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkTextureCompressor_Blitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/SkTextureCompressor_Blitter.h')
-rw-r--r--src/utils/SkTextureCompressor_Blitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkTextureCompressor_Blitter.h b/src/utils/SkTextureCompressor_Blitter.h
index 23265a4d18..93d158dad8 100644
--- a/src/utils/SkTextureCompressor_Blitter.h
+++ b/src/utils/SkTextureCompressor_Blitter.h
@@ -231,7 +231,7 @@ private:
inline void updateBlockColumns(Block block, const int col,
const int colsLeft, const Column curAlphai) {
SkASSERT(NULL != block);
- SkASSERT(col + colsLeft <= 4);
+ SkASSERT(col + colsLeft <= BlockDim);
for (int i = col; i < (col + colsLeft); ++i) {
memcpy(block[i], curAlphai, sizeof(Column));