summaryrefslogtreecommitdiff
path: root/Editor/GUI
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-15 01:19:35 +0800
committerchai <chaifix@163.com>2021-11-15 01:19:35 +0800
commit452eceb3ba4bdbbc77786dc7f7235c03f1c62302 (patch)
treeb4f86a4ed4d0121e5ad1c9cb3a9cfa774800f9dc /Editor/GUI
parent73dc62da054cbc18afc694f803ebff7fe24f4eca (diff)
*class
Diffstat (limited to 'Editor/GUI')
-rw-r--r--Editor/GUI/ContainerWindow.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/Editor/GUI/ContainerWindow.cpp b/Editor/GUI/ContainerWindow.cpp
index f76ac73..7a71d14 100644
--- a/Editor/GUI/ContainerWindow.cpp
+++ b/Editor/GUI/ContainerWindow.cpp
@@ -43,22 +43,22 @@ LRESULT CALLBACK ContainerWindow::ContainerWndProc(HWND hWnd, UINT message, WPAR
}
case WM_SETICON:
return WM_SETICON;
- case WM_PAINT:
- {
- static PAINTSTRUCT ps;
- self->SetAsRenderContext();
-
- glEnable(GL_BLEND);
- float c = 26 / 255.f;
- glClearColor(c, c, c, 1);
- glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- glFlush();
-
- BeginPaint(self->m_Window, &ps);
- EndPaint(self->m_Window, &ps);
- UpdateWindow(self->m_Window);
- return 0;
- }
+ //case WM_PAINT:
+ //{
+ // static PAINTSTRUCT ps;
+ // self->SetAsRenderContext();
+
+ // glEnable(GL_BLEND);
+ // float c = 26 / 255.f;
+ // glClearColor(c, c, c, 1);
+ // glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
+ // glFlush();
+
+ // BeginPaint(self->m_Window, &ps);
+ // EndPaint(self->m_Window, &ps);
+ // UpdateWindow(self->m_Window);
+ // return 0;
+ //}
case WM_ENTERMENULOOP: // µã»÷²Ëµ¥
return 0;