Index: src/utils/SkTextureCompressor.cpp |
diff --git a/src/utils/SkTextureCompressor.cpp b/src/utils/SkTextureCompressor.cpp |
index 5ef1ae39fcebe31f8c4b96f98c15e019b4e1fb4d..fb41928269be4b98e006c83d702d25d6cd291849 100644 |
--- a/src/utils/SkTextureCompressor.cpp |
+++ b/src/utils/SkTextureCompressor.cpp |
@@ -197,7 +197,7 @@ SkData *CompressBitmapToFormat(const SkBitmap &bitmap, Format format) { |
memset(kProcMap, 0, sizeof(kProcMap)); |
// Map available bitmap configs to compression functions |
- kProcMap[SkBitmap::kA8_Config][kLATC_Format] = compress_a8_to_latc; |
+ kProcMap[kAlpha_8_SkColorType][kLATC_Format] = compress_a8_to_latc; |
CompressBitmapProc proc = kProcMap[bitmap.colorType()][format]; |
if (NULL != proc) { |