summaryrefslogtreecommitdiff
path: root/tests/test_gui.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-09-23 11:24:01 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-09-23 11:24:01 +0200
commitf3c6ac1d7183a9aea2809ee283a5cd899caf9f3d (patch)
tree6247b1fbee379d11bd868c014907e0388f0cade0 /tests/test_gui.cpp
parentc10e8ac1de356be4e85744818392eef2a1443e99 (diff)
Ignore thread models when compiling with NO_THREAD
The thread model option for physics (2D) and rendering (single-unsafe, single-safe, multithread), was causing crashes/locks when set as multithreaded and exported for a platform that does not support threads (namely HTML5). This commit ensures that when threads support is not available, that option is ignored, and the equivalent of "single-unsafe" is always used instead.
Diffstat (limited to 'tests/test_gui.cpp')
0 files changed, 0 insertions, 0 deletions