Commit 112a8ed7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

win32: do not delete nonexistent window

The window is not created (anymore) in wallpaper mode to begin with.
parent cfc593e7
......@@ -699,7 +699,6 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
#if defined(MODULE_NAME_IS_direct3d9) || defined(MODULE_NAME_IS_direct3d11)
else
{
vout_display_DeleteWindow(vd, NULL);
p_event->parent_window = NULL;
p_event->hparent = GetDesktopHandle(vd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment