summaryrefslogtreecommitdiff
path: root/Editor/EditorMain.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-18 02:12:30 +0800
committerchai <chaifix@163.com>2021-10-18 02:12:30 +0800
commit22e576b5aa065f3cb2ca67a951af5e68063419a2 (patch)
treed72c6c77e33990cc70952c58e9ca50637ba6c242 /Editor/EditorMain.cpp
parent7c8c68d79343d04be382334c15a73d079450857c (diff)
*scripting
Diffstat (limited to 'Editor/EditorMain.cpp')
-rw-r--r--Editor/EditorMain.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/Editor/EditorMain.cpp b/Editor/EditorMain.cpp
index 9745598..1606e94 100644
--- a/Editor/EditorMain.cpp
+++ b/Editor/EditorMain.cpp
@@ -35,13 +35,6 @@ static int MainLoop()
return (INT)msg.wParam;
}
-void OpenLogTags()
-{
- //log_open_tag("WndProc");
- //log_open_tag("Menu");
- log_open_tag("Scripting");
-}
-
void InitLuaState()
{
LuaBind::VM vm;
@@ -61,11 +54,10 @@ int main()
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
#endif
{
- OpenLogTags();
- WindowUtil::Init();
-
InitLuaState();
+ WindowUtil::Init();
+
ContainnerWindow* wnd = new ContainnerWindow();
Vector2f min = Vector2f(100, 100);
Vector2f max = Vector2f(700, 700);