Index: src/gpu/GrLayerCache.cpp |
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp |
index 2a57dccb4c8e492503fca89f8dae1c52d867dc03..58994790b732e3b3e515652e85c3887449020904 100644 |
--- a/src/gpu/GrLayerCache.cpp |
+++ b/src/gpu/GrLayerCache.cpp |
@@ -155,7 +155,6 @@ bool GrLayerCache::lock(GrCachedLayer* layer, const GrTextureDesc& desc) { |
return true; |
} |
-#if USE_ATLAS |
if (layer->isAtlased()) { |
// Hooray it is still in the atlas - make sure it stays there |
layer->setLocked(true); |
@@ -195,7 +194,6 @@ bool GrLayerCache::lock(GrCachedLayer* layer, const GrTextureDesc& desc) { |
} |
} |
} |
-#endif |
// The texture wouldn't fit in the cache - give it it's own texture. |
// This path always uses a new scratch texture and (thus) doesn't cache anything. |