mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Properly unpack double -> float in min/max calculations.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user