summaryrefslogtreecommitdiff
path: root/Editor
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-26 09:48:47 +0800
committerchai <chaifix@163.com>2021-10-26 09:48:47 +0800
commitef7aedf5f272c52247d8ee9522d7b2896d21af63 (patch)
treec1259190bd51ed1225017507cd01612cc5a73a8c /Editor
parente7c760c884d90ef22fe46508b18081fe6e0f9291 (diff)
*misc
Diffstat (limited to 'Editor')
-rw-r--r--Editor/EditorApplication.cpp2
-rw-r--r--Editor/EditorMain.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/Editor/EditorApplication.cpp b/Editor/EditorApplication.cpp
index f480e37..5315e77 100644
--- a/Editor/EditorApplication.cpp
+++ b/Editor/EditorApplication.cpp
@@ -11,7 +11,7 @@ EditorApplication::EditorApplication(LuaBind::VM* vm)
Assert(!s_Created);
// ³õʼ»¯jobsystem
- JobSystem::Instance()->Initilize();
+ JobSystem::Instance()->Initilize(4);
}
EditorApplication::~EditorApplication()
diff --git a/Editor/EditorMain.cpp b/Editor/EditorMain.cpp
index 5f16d63..69c1c1a 100644
--- a/Editor/EditorMain.cpp
+++ b/Editor/EditorMain.cpp
@@ -44,9 +44,6 @@ int main()
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
#endif
{
- WorkThread thread;
- thread.Resume();
-
WindowUtil::RegisterClasses();
LuaBind::VM vm;