aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h20
1 files changed, 3 insertions, 17 deletions
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 <math.h>
+#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_ */