| Index: src/gpu/GrBatchAtlas.cpp
|
| diff --git a/src/gpu/GrBatchAtlas.cpp b/src/gpu/GrBatchAtlas.cpp
|
| index 7d67f1923371c72b7a88757d785e67bf14b6ea95..20e73e45310e685680129a6ff79c0289069c19e3 100644
|
| --- a/src/gpu/GrBatchAtlas.cpp
|
| +++ b/src/gpu/GrBatchAtlas.cpp
|
| @@ -287,7 +287,7 @@ inline void GrBatchAtlas::updatePlot(GrBatchTarget* batchTarget, AtlasID* id, Ba
|
| bool GrBatchAtlas::addToAtlas(AtlasID* id, GrBatchTarget* batchTarget,
|
| int width, int height, const void* image, SkIPoint16* loc) {
|
| // We should already have a texture, TODO clean this up
|
| - SkASSERT(fTexture && width < fPlotWidth && height < fPlotHeight);
|
| + SkASSERT(fTexture && width <= fPlotWidth && height <= fPlotHeight);
|
|
|
| // now look through all allocated plots for one we can share, in Most Recently Refed order
|
| GrBatchPlotList::Iter plotIter;
|
|
|