mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-23 20:41:13 +00:00
Fix typo in GetMinMax, writing into minval twice
This commit is contained in:
1 parent
dafb3363ab
commit
4ac0a7948c
1 file changed
+1
-1
@@ -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