mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 17:06:32 +00:00
Remove isnan call that's seemingly impossible to call portably
This commit is contained in:
+1
-1
@@ -1156,7 +1156,7 @@ void GetProjectedIndex(
|
||||
CGV_IMAGE img_diff = image_max-image_min;
|
||||
|
||||
if (img_diff == 0.0f) return;
|
||||
if (std::isnan(img_diff)) return;
|
||||
// if (std::isnan(img_diff)) return;
|
||||
|
||||
image_s = (clusters-1)/img_diff;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user