mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[idd] postprocess: normalize downsample layout
This commit is contained in:
@@ -214,9 +214,12 @@ PostProcessStatus CDownsampleEffect::Set(
|
|||||||
m_width = (unsigned)desc.Width;
|
m_width = (unsigned)desc.Width;
|
||||||
m_height = desc.Height;
|
m_height = desc.Height;
|
||||||
|
|
||||||
dst.desc = desc;
|
dst.desc = desc;
|
||||||
dst.width = (unsigned)desc.Width;
|
dst.dataWidth = (unsigned)desc.Width;
|
||||||
dst.height = desc.Height;
|
dst.dataHeight = desc.Height;
|
||||||
|
dst.pitch = 0;
|
||||||
|
dst.width = (unsigned)desc.Width;
|
||||||
|
dst.height = desc.Height;
|
||||||
return PostProcessStatus::SUCCESS;
|
return PostProcessStatus::SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user