Merge pull request #306 from DrChat/minmax_crashfix

Fix a crash when calculating min/max with R11G11B10 formats
This commit is contained in:
Baldur Karlsson authored and GitHub committed 2016-07-26 08:47:06 +02:00
commit 037cf44ddc
1 file changed
+2
+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];