Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 8ebe511

Browse files
committed
Fixed bad copy/paste
1 parent a184bf0 commit 8ebe511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostProcessing/Shaders/StdLib.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ bool IsNan(float x)
153153
// For some reason the following tests outputs "internal compiler error" randomly on desktop
154154
// so we'll use a safer but slightly slower version instead :/
155155
//return (x <= 0.0 || 0.0 <= x) ? false : true;
156-
return (n < 0.0 || n > 0.0 || n == 0.0) ? false : true;
156+
return (x < 0.0 || x > 0.0 || x == 0.0) ? false : true;
157157
}
158158

159159
bool AnyIsNan(float2 x)

0 commit comments

Comments
 (0)