diff options
author | Leonard Kugis <leonardkugis@gmail.com> | 2018-02-01 01:27:30 +0100 |
---|---|---|
committer | Leonard Kugis <leonardkugis@gmail.com> | 2018-02-01 01:27:30 +0100 |
commit | 18e5b2554b4cd73207e936e76e32c9d376cd1ba8 (patch) | |
tree | 917dba471db5b3c40c78f247a601e8db2d73056b /src/render_cpu.h | |
parent | be4f2582062196dd6ecf393f55566367bc1dfa9f (diff) |
abstracted rendering, cpu currently crashing randomly while zooming
Diffstat (limited to 'src/render_cpu.h')
-rw-r--r-- | src/render_cpu.h | 11 |
1 files changed, 1 insertions, 10 deletions
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); |