forked from Dynamitos/Seele
Initial environment loading (not working)
This commit is contained in:
1 parent
4a34220cd7
commit
aa1f037cb5
41 files changed
+553
-208
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "ThreadPool.h"
|
||||
#include "MinimalEngine.h"
|
||||
#include "Graphics/Texture.h"
|
||||
|
||||
using namespace Seele;
|
||||
|
||||
@@ -7,6 +8,8 @@ Globals globals;
|
||||
|
||||
Globals& Seele::getGlobals() { return globals; }
|
||||
|
||||
void test(Gfx::PTexture base) { (void)base; }
|
||||
|
||||
ThreadPool::ThreadPool(uint32 numWorkers) {
|
||||
for (uint32 i = 0; i < numWorkers; ++i) {
|
||||
workers.add(std::thread(&ThreadPool::work, this));
|
||||
|
||||
Reference in new issue
Block a user