forked from blender/blender
Fixed rendering for MacOS #82
@ -69,7 +69,9 @@ void FinalEngine::render(Depsgraph *depsgraph)
|
||||
pxr::HdTaskSharedPtrVector tasks;
|
||||
if (light_tasks_delegate_) {
|
||||
if (scene->r.alphamode != R_ALPHAPREMUL) {
|
||||
#ifndef __APPLE__
|
||||
tasks.push_back(light_tasks_delegate_->skydome_task());
|
||||
#endif
|
||||
}
|
||||
tasks.push_back(light_tasks_delegate_->simple_task());
|
||||
}
|
||||
|
@ -240,11 +240,11 @@ void ViewportEngine::render(Depsgraph *depsgraph, bContext *context)
|
||||
|
||||
pxr::HdTaskSharedPtrVector tasks;
|
||||
if (light_tasks_delegate_) {
|
||||
#ifndef __APPLE__
|
||||
if (scene->r.alphamode != R_ALPHAPREMUL) {
|
||||
#ifndef __APPLE__
|
||||
tasks.push_back(light_tasks_delegate_->skydome_task());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
tasks.push_back(light_tasks_delegate_->simple_task());
|
||||
}
|
||||
tasks.push_back(render_task_delegate_->task());
|
||||
|
Loading…
Reference in New Issue
Block a user