commit 3e39edb3af8f8bbb9cf3d7dc04542d2195b82377 parent a2beea11221ab50b2faa7dd6651e6458620e4c48 Author: Pollux <pollux@pollux.codes> Date: Sun, 19 Jan 2025 14:13:39 -0600 fix: Enable AA in calligraphy example Signed-off-by: Pollux <pollux@pollux.codes> Diffstat:
M | examples/calligraphy.cl | | | 12 | +----------- |
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/examples/calligraphy.cl b/examples/calligraphy.cl @@ -1,6 +1,4 @@ -#define CROSSHAIRS false - -#define AA 1.f +#define AA 0.1f #define MAX_DWELL 10000 #define BAILOUT 1000000000000.f @@ -14,14 +12,6 @@ kernel void render(const int width, const int height, __global float *out) { const int i = get_global_id(0); - if(CROSSHAIRS && (i%width == 1146 || i%width == 2294 || i/width == 480 || i/width == 960)) - { - out[3*i] = 1.f; - out[3*i+1] = 0.f; - out[3*i+2] = 0.f; - return; - } - if(i < width * height) {