aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-01-26 15:34:06 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-01-26 15:34:06 +0100
commit3d162bbcc92b22e6b00ee80194214c393770adb7 (patch)
tree70f7ceeebbfab4e85731c7bdc5df17f7b2b9b3dd /src/render.h
parent1c3ea27064257d8cf7b9f36b0388b8cf2e94ab08 (diff)
fixed crash
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/render.h b/src/render.h
index 2cb76c1..4ae2360 100644
--- a/src/render.h
+++ b/src/render.h
@@ -8,8 +8,6 @@
#ifndef RENDER_H_
#define RENDER_H_
-#define COORDS(x, y, width) ((y)*(width)+(x))
-
#include "defs.h"
#include "render_cpu.h"
#include "render_opencl.h"
@@ -29,7 +27,7 @@ typedef struct config {
} Config;
Config *_config;
-u32 s_arr;
+u32 *s_arr;
void init_render(Config *config);
void show_render();