mirror of https://github.com/bjornbytes/lovr.git
08d6b2ad28
This allows them to be initialized/destroyed from multiple threads in any order. Previously, the first thread to require a module had to be the last thread to use the module, otherwise it would be destroyed too early. There are still a few issues. If the main thread doesn't require a module, it won't pick up the conf.lua settings. Also graphics isn't handling the shader cache writing properly. And I think this breaks the headset-graphics refcounting. But these will be fixed in future commits. |
||
---|---|---|
.. | ||
physics.c | ||
physics.h |