Video: Fix lens_distortion post process shader not compiling

`any()` failed to build on my machine, but it doesn't seem to be necessary
This commit is contained in:
Filippo Tarpini 2023-05-28 12:30:16 +03:00 committed by Admiral H. Curtiss
parent 6743ca8e09
commit 79120e0d33
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -81,7 +81,7 @@ void main()
float2 uv = (widenedRadial/2.0f) + float2(0.5f, 0.5f) + float2(offsetAdd, 0.0f);
// Sample the texture at the source location
if(any(clamp(uv, 0.0, 1.0) != uv))
if (clamp(uv, 0.0, 1.0) != uv)
{
// black if beyond bounds
SetOutput(float4(0.0, 0.0, 0.0, 0.0));