Restore "Add single-threaded config to Filament. (#130)"

This reverts commit 24022010f9.
This commit is contained in:
prideout
2018-08-27 08:51:46 -07:00
committed by Romain Guy
parent 33c44ee9ce
commit 3a7d80f29b
10 changed files with 123 additions and 50 deletions
+5
View File
@@ -72,6 +72,11 @@
# define UTILS_HAS_HYPER_THREADING 0
#endif
#if defined(__EMSCRIPTEN__)
# define UTILS_HAS_THREADING 0
#else
# define UTILS_HAS_THREADING 1
#endif
#if __has_attribute(noinline)
#define UTILS_NOINLINE __attribute__((noinline))