Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index d10541837795df00a202eeaf6d0ccebfee488480..32c9158334fcc38af7765d090bab1f5170549103 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -594,6 +594,8 @@ GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType ct, SkAlphaType, SkColorProf |
return kBGRA_8888_GrPixelConfig; |
case kIndex_8_SkColorType: |
return kIndex_8_GrPixelConfig; |
+ case kGray_8_SkColorType: |
+ return kAlpha_8_GrPixelConfig; // TODO: gray8 support on gpu |
} |
SkASSERT(0); // shouldn't get here |
return kUnknown_GrPixelConfig; |