summaryrefslogtreecommitdiff
path: root/Resources/Scripts/EditorApplication.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-25 03:22:49 +0800
committerchai <chaifix@163.com>2021-10-25 03:22:49 +0800
commit0816cd70ca1a213b6ed872bcf3c0bf0912473722 (patch)
treeede23a398e78106551434ca762362ca04fd1ba8c /Resources/Scripts/EditorApplication.lua
parent180b715e72ffc292ebbc4695f8a63ce449004d27 (diff)
*misc
Diffstat (limited to 'Resources/Scripts/EditorApplication.lua')
-rw-r--r--Resources/Scripts/EditorApplication.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/Resources/Scripts/EditorApplication.lua b/Resources/Scripts/EditorApplication.lua
index a6515ba..e91725a 100644
--- a/Resources/Scripts/EditorApplication.lua
+++ b/Resources/Scripts/EditorApplication.lua
@@ -37,8 +37,6 @@ guiWindow:SetInstance(wnd)
local v = GameLab.Engine.Math.Vector4.New(1,2,3,4)
Debug.Log(inspect(v))
-local V4 = GameLab.Engine.Math.Vector4.Extend("V4", "GameLab.Engine.Math")
-
Debug.Log(EditorWindowManager.name)
local c = Rendering.Color.New(1,1,1,1)
@@ -46,7 +44,8 @@ Debug.Log(inspect(c))
Debug.Log(inspect(GL.EBufferType))
-GL.Clear()
+GL.ClearColor({1,1,1,1})
+GL.Clear(GL.EBufferType.ColorBuffer)
while true do