_setidealprocessor
This commit is contained in:
@@ -70,7 +70,7 @@ void SceneRendering::Draw(RenderContextBatch& renderContextBatch, DrawCategory c
|
||||
|
||||
// Draw all visual components
|
||||
_drawListIndex = -1;
|
||||
if (_drawListSize >= 64 && category == SceneDrawAsync && renderContextBatch.EnableAsync)
|
||||
/*if (_drawListSize >= 64 && category == SceneDrawAsync && renderContextBatch.EnableAsync)
|
||||
{
|
||||
// Run in async via Job System
|
||||
Function<void(int32)> func;
|
||||
@@ -78,7 +78,7 @@ void SceneRendering::Draw(RenderContextBatch& renderContextBatch, DrawCategory c
|
||||
const uint64 waitLabel = JobSystem::Dispatch(func, JobSystem::GetThreadsCount());
|
||||
renderContextBatch.WaitLabels.Add(waitLabel);
|
||||
}
|
||||
else
|
||||
else*/
|
||||
{
|
||||
// Scene is small so draw on a main-thread
|
||||
DrawActorsJob(0);
|
||||
|
||||
Reference in New Issue
Block a user