diff options
author | chai <chaifix@163.com> | 2021-11-20 14:10:24 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-20 14:10:24 +0800 |
commit | 74ca8143a7c2352425d549b681b2838bda5ee218 (patch) | |
tree | 5aad35e7312b7c1b54769091b30f47d8ad747acb /Data/Libraries | |
parent | 850d9c034792b96e2ff5ff3bbfbcc30661757aed (diff) |
*misc
Diffstat (limited to 'Data/Libraries')
-rw-r--r-- | Data/Libraries/GameLab/Editor/Window/GUIWindow.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua b/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua index f1f4445..b5d7436 100644 --- a/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua +++ b/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua @@ -40,7 +40,7 @@ local GUIWindow = GameLab.GlobalClass("GameLab.Editor.Window.GUIWindow", functio i = i + 1
self.m_ClearColor = col[i]
-end )
+end)
GUIWindow.get_native = function(self)
return self.m_Native
@@ -127,7 +127,7 @@ end GUIWindow.ClearBackground = function(self)
if Event.current.type == EEventType.Repaint then
- GL.ClearColor(self.m_ClearColor)
+ GL.ClearColor(Color(0.16,0.16,0.16,1 ))
GL.Clear(GL.EBufferType.ColorBuffer)
end
end
|