Index: src/gpu/GrDrawingManager.cpp |
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp |
index 0a487daf4146fadb7f7869f8144454d702188ec5..7f44f29cd11fdf473f689f3096d97f1c7d68cdf4 100644 |
--- a/src/gpu/GrDrawingManager.cpp |
+++ b/src/gpu/GrDrawingManager.cpp |
@@ -14,6 +14,8 @@ |
#include "GrStencilAndCoverTextContext.h" |
#include "SkTTopoSort.h" |
+//#define ENABLE_MDB 1 |
+ |
void GrDrawingManager::cleanup() { |
for (int i = 0; i < fDrawTargets.count(); ++i) { |
fDrawTargets[i]->unref(); |
@@ -115,7 +117,7 @@ GrDrawTarget* GrDrawingManager::newDrawTarget(GrRenderTarget* rt) { |
} |
#endif |
- GrDrawTarget* dt = new GrDrawTarget(fContext->getGpu(), fContext->resourceProvider(), |
+ GrDrawTarget* dt = new GrDrawTarget(rt, fContext->getGpu(), fContext->resourceProvider(), |
fOptions); |
*fDrawTargets.append() = dt; |