From 18e5b2554b4cd73207e936e76e32c9d376cd1ba8 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Thu, 1 Feb 2018 01:27:30 +0100 Subject: abstracted rendering, cpu currently crashing randomly while zooming --- src/render_cpu.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/render_cpu.h') diff --git a/src/render_cpu.h b/src/render_cpu.h index 0fc75eb..e40a5ea 100644 --- a/src/render_cpu.h +++ b/src/render_cpu.h @@ -31,19 +31,10 @@ typedef struct t_args { } ThreadArgs; config_t *config_cpu; -u32 rendercnt; -float ft; -int t_old_cpu; - -d64 x_min, x_max, y_min, y_max; -d64 x_min_s, x_max_s, y_min_s, y_max_s; void init_cpu(config_t *config); -void render_cpu(void); +void render_cpu(d64 x_min, d64 y_min, d64 x_max, d64 y_max); void idle_cpu(void); -void idle_cpu_dummy(void); -void keyboard_cpu(unsigned char key, int mouseX, int mouseY); -void mouse_cpu(int button, int state, int x, int y); void calculate(d64 x_min, d64 y_min, d64 x_max, d64 y_max, u32 (*sfunc) (d64, d64, u32), u32 *arr); void calculate_t(void *args); -- cgit v1.2.1