From: stephenseo Date: Fri, 31 Mar 2023 05:54:47 +0000 (+0000) Subject: Update 'src/blue_noise.cl' X-Git-Url: https://git.seodisparate.com/stephenseo/LD53?a=commitdiff_plain;h=b40894f9d3d536a6221c8875d08a0007a2ea4bc5;p=blue_noise_generation Update 'src/blue_noise.cl' Fix `twoToOne(...)` having variables with no types. --- diff --git a/src/blue_noise.cl b/src/blue_noise.cl index f39228e..e2c8440 100644 --- a/src/blue_noise.cl +++ b/src/blue_noise.cl @@ -1,4 +1,4 @@ -int twoToOne(x, y, width, height) { +int twoToOne(int x, int y, int width, int height) { while(x < 0) { x += width; }