diff options
author | Leonard Kugis <leonardkugis@gmail.com> | 2018-01-27 02:03:31 +0100 |
---|---|---|
committer | Leonard Kugis <leonardkugis@gmail.com> | 2018-01-27 02:03:31 +0100 |
commit | c8a38bd8ad66eb0b35f08a4733fdee37a888b83c (patch) | |
tree | 63f730553e879f5e14f0dc5e3cbb92ce771ae43f /src/render.h | |
parent | 3d162bbcc92b22e6b00ee80194214c393770adb7 (diff) |
OpenCL rendering added, not working properly
Diffstat (limited to 'src/render.h')
-rw-r--r-- | src/render.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/render.h b/src/render.h index 4ae2360..a50027a 100644 --- a/src/render.h +++ b/src/render.h @@ -9,8 +9,9 @@ #define RENDER_H_ #include "defs.h" -#include "render_cpu.h" #include "render_opencl.h" +#include "render_cpu.h" +#include <math.h> typedef struct config { CpuConfig config_cpu; @@ -28,6 +29,9 @@ typedef struct config { Config *_config; u32 *s_arr; +GLuint tex; + +d64 zoom_func(d64 ft, d64 s); void init_render(Config *config); void show_render(); |