enable/disable threadpool from cmake

This commit is contained in:
2026-03-04 20:45:25 +01:00
parent cc2aee3af4
commit a9c102298a
4 changed files with 12 additions and 5 deletions

View File

@ -3,12 +3,12 @@
#include <raylib.h>
#define THREADPOOL // Enable physics threadpool
// TODO: Using the octree from the last frame completely breaks the physics :/
// #define ASYNC_OCTREE
// Gets set by CMake
// #define THREADPOOL // Enable physics threadpool
// #define BACKWARD // Enable pretty stack traces
// #define TRACY // Enable tracy profiling support
@ -93,4 +93,4 @@ constexpr Color BLOCK_COLOR = DARKBLUE;
constexpr Color TARGET_BLOCK_COLOR = RED;
constexpr Color WALL_COLOR = BLACK;
#endif
#endif