Index: src/gpu/GrCommandBuilder.cpp |
diff --git a/src/gpu/GrCommandBuilder.cpp b/src/gpu/GrCommandBuilder.cpp |
index 2ff59bcecd257e848f1117d17ba3a19efc8e39a2..106e78185d5d613b9e5ed548f0d14db12c3d8259 100644 |
--- a/src/gpu/GrCommandBuilder.cpp |
+++ b/src/gpu/GrCommandBuilder.cpp |
@@ -82,7 +82,7 @@ GrCommandBuilder::recordXferBarrierIfNecessary(const GrPipeline& pipeline, |
return NULL; |
} |
- XferBarrier* xb = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), XferBarrier, ()); |
+ XferBarrier* xb = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), XferBarrier, (rt)); |
xb->fBarrierType = barrierType; |
return xb; |
} |