Index: src/gpu/GrAtlas.cpp |
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp |
index fc5b7c3d628689a9e611b655de0cf8331721c326..cc98b925c257b4dcc2af54797e4f60ef70c01b5d 100644 |
--- a/src/gpu/GrAtlas.cpp |
+++ b/src/gpu/GrAtlas.cpp |
@@ -163,6 +163,9 @@ GrAtlasMgr::GrAtlasMgr(GrGpu* gpu, GrPixelConfig config, |
SkASSERT(plotWidth * fNumPlotsX == textureWidth); |
SkASSERT(plotHeight * fNumPlotsY == textureHeight); |
+ // We currently do not support compressed atlases... |
+ SkASSERT(!GrPixelConfigIsCompressed(config)); |
+ |
// set up allocated plots |
size_t bpp = GrBytesPerPixel(fPixelConfig); |
fPlotArray = SkNEW_ARRAY(GrPlot, (fNumPlotsX*fNumPlotsY)); |