This commit is contained in:
Alex Hirsch 2025-07-21 17:09:38 +02:00 committed by GitHub
commit 174a8044df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1142,11 +1142,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:
{
@ -1285,6 +1280,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