Properly unpack double -> float in min/max calculations.

This commit is contained in:
Dr. Chat
2016-07-25 17:51:23 -05:00
parent a163fee437
commit 85f4e724d7
+2
View File
@@ -1753,6 +1753,8 @@ namespace renderdocui.Windows
val = (float)(int)elements[i];
else if (o is Int16)
val = (float)(int)elements[i];
else if (o is double)
val = (float)(double)elements[i];
else
val = (float)elements[i];