aboutsummaryrefslogtreecommitdiff
path: root/src/render_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render_cpu.h')
-rw-r--r--src/render_cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render_cpu.h b/src/render_cpu.h
index 6926687..b4141ae 100644
--- a/src/render_cpu.h
+++ b/src/render_cpu.h
@@ -14,6 +14,8 @@
#include <pthread.h>
#include <math.h>
+#define COORDS(x, y, width) ((y)*(width)+(x))
+
typedef struct config_cpu {
u8 threads;
u32 *arr;