History

cleaning indentation

samcake committed 10 years ago

Commit 2bbd5d81 parent e70ab471 file · +9 −13Browse files

Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 1 file). Show all

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+9−13
@@ -52,25 +52,21 @@ void ToneMappingDeferred::run(const SceneContextPointer& sceneContext, const Ren · 51 unmodified lines
5252 RenderDeferredTask::RenderDeferredTask() : Task() {
5353 // CPU only, create the list of renderedOpaques items
5454 _jobs.push_back(Job(new FetchItems::JobModel("FetchOpaque",
55− FetchItems(
56− [](const RenderContextPointer& context, int count) {
57− context->_numFeedOpaqueItems = count;
58− }
59− )
60− )));
55+ FetchItems([](const RenderContextPointer& context, int count) {
56+ context->_numFeedOpaqueItems = count;
57+ })
58+ )));
6159 _jobs.push_back(Job(new CullItemsOpaque::JobModel("CullOpaque", _jobs.back().getOutput())));
6260 _jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortOpaque", _jobs.back().getOutput())));
6361 auto& renderedOpaques = _jobs.back().getOutput();
6462
6563 // CPU only, create the list of renderedTransparents items
6664 _jobs.push_back(Job(new FetchItems::JobModel("FetchTransparent",
67− FetchItems(
68− ItemFilter::Builder::transparentShape().withoutLayered(),
69− [](const RenderContextPointer& context, int count) {
70− context->_numFeedTransparentItems = count;
71− }
72− )
73− )));
65+ FetchItems(ItemFilter::Builder::transparentShape().withoutLayered(),
66+ [](const RenderContextPointer& context, int count) {
67+ context->_numFeedTransparentItems = count;
68+ })
69+ )));
7470 _jobs.push_back(Job(new CullItemsTransparent::JobModel("CullTransparent", _jobs.back().getOutput())));
7571 _jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
7672 auto& renderedTransparents = _jobs.back().getOutput();