diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-04-27 18:15:56 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-04-27 18:15:56 +1000 |
commit | 69b1487e3e063cbecba96706c550d417b2f24e37 (patch) | |
tree | 9e31e292ef1cbb6775c52d14bae1f536a1f51906 /src/core.c | |
parent | 93c8d40b39fe55a626e66d412450fb4cca1f993b (diff) |
getting us compiling on windows
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,7 +8,7 @@ #include "log.h" #include "render.h" #include "render_types.h" -#include "threadpool.h" +// #include "threadpool.h" #define SCR_WIDTH 1000 #define SCR_HEIGHT 1000 @@ -21,10 +21,10 @@ core* core_bringup() { .scr_height = SCR_HEIGHT, .clear_colour = (vec3){ .08, .08, .1 } }; c->renderer.config = conf; - c->renderer.backend_state = NULL; + c->renderer.backend_context = NULL; - threadpool_create(&c->threadpool, 6, 256); - threadpool_set_ctx(&c->threadpool, c); // Gives the threadpool access to the core + // threadpool_create(&c->threadpool, 6, 256); + // threadpool_set_ctx(&c->threadpool, c); // Gives the threadpool access to the core // initialise all subsystems if (!renderer_init(&c->renderer)) { |