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_height = desc.Height;
|
||||
|
||||
dst.desc = desc;
|
||||
dst.width = (unsigned)desc.Width;
|
||||
dst.height = desc.Height;
|
||||
dst.desc = desc;
|
||||
dst.dataWidth = (unsigned)desc.Width;
|
||||
dst.dataHeight = desc.Height;
|
||||
dst.pitch = 0;
|
||||
dst.width = (unsigned)desc.Width;
|
||||
dst.height = desc.Height;
|
||||
return PostProcessStatus::SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user