diff options
author | Leonard Kugis <leonardkugis@gmail.com> | 2018-01-26 15:34:06 +0100 |
---|---|---|
committer | Leonard Kugis <leonardkugis@gmail.com> | 2018-01-26 15:34:06 +0100 |
commit | 3d162bbcc92b22e6b00ee80194214c393770adb7 (patch) | |
tree | 70f7ceeebbfab4e85731c7bdc5df17f7b2b9b3dd /src/render_cpu.h | |
parent | 1c3ea27064257d8cf7b9f36b0388b8cf2e94ab08 (diff) |
fixed crash
Diffstat (limited to 'src/render_cpu.h')
-rw-r--r-- | src/render_cpu.h | 2 |
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; |