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