mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 14:36:35 +00:00
Experimental compressonator compile fix
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 (isnan(img_diff)) return;
|
||||
if (std::isnan(img_diff)) return;
|
||||
|
||||
image_s = (clusters-1)/img_diff;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user