From: Akihiro Sagawa sagawa.aki@gmail.com
--- dlls/quartz/tests/videorenderer.c | 2 +- dlls/quartz/window.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/quartz/tests/videorenderer.c b/dlls/quartz/tests/videorenderer.c index 24f30146981..fccb32d06d0 100644 --- a/dlls/quartz/tests/videorenderer.c +++ b/dlls/quartz/tests/videorenderer.c @@ -2368,7 +2368,7 @@ static void test_video_window(void) ok(tid == GetCurrentThreadId(), "Expected tid %#lx, got %#lx.\n", GetCurrentThreadId(), tid);
background = GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND); - todo_wine ok(!background, "Expected NULL brush, got %#Ix\n", background); + ok(!background, "Expected NULL brush, got %#Ix\n", background);
hr = IBaseFilter_QueryInterface(filter, &IID_IVideoWindow, (void **)&window); ok(hr == S_OK, "Got hr %#lx.\n", hr); diff --git a/dlls/quartz/window.c b/dlls/quartz/window.c index 3e19d9b582e..2064be7e320 100644 --- a/dlls/quartz/window.c +++ b/dlls/quartz/window.c @@ -101,7 +101,6 @@ HRESULT video_window_create_window(struct video_window *window)
winclass.lpfnWndProc = WndProcW; winclass.cbWndExtra = sizeof(window); - winclass.hbrBackground = GetStockObject(BLACK_BRUSH); winclass.lpszClassName = class_name; if (!RegisterClassW(&winclass) && GetLastError() != ERROR_CLASS_ALREADY_EXISTS) {