From be4f2582062196dd6ecf393f55566367bc1dfa9f Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Thu, 1 Feb 2018 00:26:36 +0100 Subject: reorganized configs --- src/render.h | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'src/render.h') diff --git a/src/render.h b/src/render.h index 52be446..5972200 100644 --- a/src/render.h +++ b/src/render.h @@ -12,29 +12,15 @@ #include "render_opencl.h" #include "render_cpu.h" #include +#include "config.h" -typedef struct config { - CpuConfig config_cpu; - OpenCLConfig config_opencl; - u8 mode; - u8 zoomSpecific; - u8 video; - u8 filetype; - u16 width; - u16 height; - u8 videoFPS; - u32 bitrate; - const char *path; - // TODO: key mapping als option in die struct -} Config; - -Config *_config; +config_t *_config; u32 *s_arr; GLuint tex; d64 zoom_func(d64 ft, d64 s); -void init_render(Config *config); +void init_render(config_t *config); void show_render(); #endif /* RENDER_H_ */ -- cgit v1.2.1