diff options
Diffstat (limited to 'src/gpu/GrDrawOpAtlas.cpp')
-rw-r--r-- | src/gpu/GrDrawOpAtlas.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrDrawOpAtlas.cpp b/src/gpu/GrDrawOpAtlas.cpp index be8258ab51..0e8de3c578 100644 --- a/src/gpu/GrDrawOpAtlas.cpp +++ b/src/gpu/GrDrawOpAtlas.cpp @@ -172,6 +172,9 @@ GrDrawOpAtlas::GrDrawOpAtlas(GrContext* context, sk_sp<GrTextureProxy> proxy, SkDEBUGCODE(fNumPlots = numPlotsX * numPlotsY;) + // We currently do not support compressed atlases... + SkASSERT(!GrPixelConfigIsCompressed(fProxy->config())); + // set up allocated plots fPlotArray.reset(new sk_sp<Plot>[ numPlotsX * numPlotsY ]); |