summaryrefslogtreecommitdiff
path: root/Editor
diff options
context:
space:
mode:
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;