Improve threading
This commit is contained in:
1 parent
507db80fb1
commit
863f502dde
3 files changed
+7
-5
No files matched your search
@@ -10,6 +10,7 @@ int main(int argc, char** argv)
|
||||
rse_graphics_init();
|
||||
rse_create_task(&graphics_task, (thread_worker_t)rse_graphics_run, NULL);
|
||||
|
||||
|
||||
rse_task_join(&graphics_task);
|
||||
return 0;
|
||||
rse_task_exit(); //TODO: Figure out why program is so much faster if we don't join the graphics_task. WTF.
|
||||
}
|
||||
Reference in new issue
Block a user