mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:57:23 +02:00
cleaning indentation
This commit is contained in:
parent
e70ab472af
commit
2bbd5d86b8
1 changed files with 9 additions and 13 deletions
|
@ -52,11 +52,9 @@ void ToneMappingDeferred::run(const SceneContextPointer& sceneContext, const Ren
|
|||
RenderDeferredTask::RenderDeferredTask() : Task() {
|
||||
// CPU only, create the list of renderedOpaques items
|
||||
_jobs.push_back(Job(new FetchItems::JobModel("FetchOpaque",
|
||||
FetchItems(
|
||||
[](const RenderContextPointer& context, int count) {
|
||||
FetchItems([](const RenderContextPointer& context, int count) {
|
||||
context->_numFeedOpaqueItems = count;
|
||||
}
|
||||
)
|
||||
})
|
||||
)));
|
||||
_jobs.push_back(Job(new CullItemsOpaque::JobModel("CullOpaque", _jobs.back().getOutput())));
|
||||
_jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortOpaque", _jobs.back().getOutput())));
|
||||
|
@ -64,12 +62,10 @@ RenderDeferredTask::RenderDeferredTask() : Task() {
|
|||
|
||||
// CPU only, create the list of renderedTransparents items
|
||||
_jobs.push_back(Job(new FetchItems::JobModel("FetchTransparent",
|
||||
FetchItems(
|
||||
ItemFilter::Builder::transparentShape().withoutLayered(),
|
||||
FetchItems(ItemFilter::Builder::transparentShape().withoutLayered(),
|
||||
[](const RenderContextPointer& context, int count) {
|
||||
context->_numFeedTransparentItems = count;
|
||||
}
|
||||
)
|
||||
})
|
||||
)));
|
||||
_jobs.push_back(Job(new CullItemsTransparent::JobModel("CullTransparent", _jobs.back().getOutput())));
|
||||
_jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
|
||||
|
|
Loading…
Reference in a new issue