Fix typo in GetMinMax, writing into minval twice

This commit is contained in:
baldurk
2017-04-24 15:02:23 +01:00
parent dafb3363ab
commit 4ac0a7948c
+1 -1
View File
@@ -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);
}