commit b5179b74e503175277c05b18c4ca1a79f167d186 parent 5b91be8e4f80bb99462a9fb7572ee81305c841ae Author: Michael Savage <mikejsavage@gmail.com> Date: Tue Jul 4 20:20:26 +0300 More threads! Diffstat:
main.cc | | | 2 | +- |
diff --git a/main.cc b/main.cc @@ -46,7 +46,7 @@ int main( int argc, char ** argv ) { GLFWwindow * window = gl_init( WINDOW_GAME ); shaders_init(); text_renderer_init(); - workqueue_init( &state.background_tasks, &mem.persistent_arena, 2 ); + workqueue_init( &state.background_tasks, &mem.persistent_arena, 4 ); game_init( &state, &mem ); glfwSetInputMode( window, GLFW_CURSOR, GLFW_CURSOR_DISABLED );