mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
d3d11videosink: Don't use CS_OWNDC style
It's completely unnecessary since we never use the device context (e.g., BeginPaint() or GetDC() never called). Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4684>
This commit is contained in:
parent
b092c3f580
commit
f435d192e1
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ gst_d3d11_window_win32_create_internal_window (GstD3D11WindowWin32 * self)
|
|||
wc.lpfnWndProc = window_proc;
|
||||
wc.hInstance = hinstance;
|
||||
wc.hIcon = LoadIcon (NULL, IDI_WINLOGO);
|
||||
wc.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS;
|
||||
wc.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS;
|
||||
wc.hCursor = LoadCursor (NULL, IDC_ARROW);
|
||||
wc.hbrBackground = (HBRUSH) GetStockObject (BLACK_BRUSH);
|
||||
wc.lpszClassName = "GSTD3D11";
|
||||
|
|
Loading…
Reference in a new issue