Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT
This commit is contained in:
@@ -133,7 +133,7 @@ private:
|
||||
ParticleEmitterGraphCPU& _graph;
|
||||
|
||||
// Per-thread context to allow async execution
|
||||
static ThreadLocal<ParticleEmitterGraphCPUContext> Context;
|
||||
static ThreadLocal<ParticleEmitterGraphCPUContext*> Context;
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user