|
|
@ -266,7 +266,7 @@ class lightThread
|
|
|
|
void combine(); //combine existing canvas into global lightmap
|
|
|
|
void combine(); //combine existing canvas into global lightmap
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
std::thread *myThread;
|
|
|
|
std::thread *myThread;
|
|
|
|
bool isDone; //no mutex, because bool is atomic
|
|
|
|
std::atomic<bool> isDone;
|
|
|
|
lightThread(lightThreadDispatch& dispatch);
|
|
|
|
lightThread(lightThreadDispatch& dispatch);
|
|
|
|
~lightThread();
|
|
|
|
~lightThread();
|
|
|
|
void run();
|
|
|
|
void run();
|
|
|
|