Index: src/gpu/GrAtlas.cpp |
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp |
index acf0f28d80673ac3ceaf06adb71f38e13677bc02..dd362908d3fedc65a3459dc52bc0b88dcd250563 100644 |
--- a/src/gpu/GrAtlas.cpp |
+++ b/src/gpu/GrAtlas.cpp |
@@ -177,14 +177,7 @@ GrPlot* GrAtlasMgr::addToAtlas(GrAtlas* atlas, |
if (NULL == fTexture) { |
// TODO: Update this to use the cache rather than directly creating a texture. |
GrTextureDesc desc; |
-#ifdef SK_DEVELOPER |
- // RenderTarget so we can read the pixels to dump them |
- // TODO: Fix to support RT |
- desc.fFlags = kDynamicUpdate_GrTextureFlagBit;//|kRenderTarget_GrTextureFlagBit; |
- //|kNoStencil_GrTextureFlagBit; |
-#else |
desc.fFlags = kDynamicUpdate_GrTextureFlagBit; |
-#endif |
desc.fWidth = GR_ATLAS_TEXTURE_WIDTH; |
desc.fHeight = GR_ATLAS_TEXTURE_HEIGHT; |
desc.fConfig = fPixelConfig; |