BLEN-342: Border render for ViewportEngine #4

Merged
Bogdan Nagirniak merged 1 commits from BLEN-342 into hydra-render 2023-02-21 11:48:22 +01:00
Showing only changes of commit ff0f721ddd - Show all commits

View File

@ -67,7 +67,7 @@ bool RenderTaskDelegate::IsConverged()
void RenderTaskDelegate::SetRendererAov(TfToken const &aov)
{
HdAovDescriptor aovDesc = GetRenderIndex().GetRenderDelegate()->GetDefaultAovDescriptor(aov);
HdRenderBufferDescriptor desc(GfVec3i(taskParams.viewport[2] - taskParams.viewport[0], taskParams.viewport[3] - taskParams.viewport[1], 1),
HdRenderBufferDescriptor desc(GfVec3i(taskParams.viewport[2], taskParams.viewport[3], 1),
aovDesc.format, aovDesc.multiSampled);
SdfPath bufferId = GetAovID(aov);