mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 05:50:51 +00:00
Fix typo in GetMinMax, writing into minval twice
This commit is contained in:
@@ -300,7 +300,7 @@ rdctype::pair<PixelValue, PixelValue> ReplayOutput::GetMinMax()
|
||||
sample = 0;
|
||||
}
|
||||
|
||||
m_pDevice->GetMinMax(tex, slice, mip, sample, typeHint, &minval.value_f[0], &minval.value_f[0]);
|
||||
m_pDevice->GetMinMax(tex, slice, mip, sample, typeHint, &minval.value_f[0], &maxval.value_f[0]);
|
||||
|
||||
return rdctype::make_pair(minval, maxval);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user