mirror of
https://github.com/glfw/glfw.git
synced 2025-04-04 21:15:07 +00:00
Merge 655c019340
into e7ea71be03
This commit is contained in:
commit
45ce9bd454
1 changed files with 1 additions and 5 deletions
|
@ -1146,11 +1146,6 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
|
|||
break;
|
||||
}
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
case WM_NCACTIVATE:
|
||||
case WM_NCPAINT:
|
||||
{
|
||||
|
@ -1289,6 +1284,7 @@ static int createNativeWindow(_GLFWwindow* window,
|
|||
wc.lpfnWndProc = windowProc;
|
||||
wc.hInstance = _glfw.win32.instance;
|
||||
wc.hCursor = LoadCursorW(NULL, IDC_ARROW);
|
||||
wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||
#if defined(_GLFW_WNDCLASSNAME)
|
||||
wc.lpszClassName = _GLFW_WNDCLASSNAME;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue