diff options
| author | chai <chaifix@163.com> | 2021-11-15 01:19:35 +0800 | 
|---|---|---|
| committer | chai <chaifix@163.com> | 2021-11-15 01:19:35 +0800 | 
| commit | 452eceb3ba4bdbbc77786dc7f7235c03f1c62302 (patch) | |
| tree | b4f86a4ed4d0121e5ad1c9cb3a9cfa774800f9dc /Editor/GUI | |
| parent | 73dc62da054cbc18afc694f803ebff7fe24f4eca (diff) | |
*class
Diffstat (limited to 'Editor/GUI')
| -rw-r--r-- | Editor/GUI/ContainerWindow.cpp | 32 | 
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;  | 
