diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c index 92428f557c..8ede01b387 100644 --- a/dlls/d3d8/directx.c +++ b/dlls/d3d8/directx.c @@ -965,9 +965,14 @@ HRESULT WINAPI IDirect3D8Impl_CreateDevice (LPDIRECT3D8 iface, #else FIXME("Requested full screen support not implemented, expect windowed operation\n"); #endif + + /* Make popup window */ + ShowWindow(whichHWND, SW_HIDE); + SetWindowLongA(whichHWND, GWL_STYLE, WS_POPUP); SetWindowPos(object->win_handle, HWND_TOP, 0, 0, pPresentationParameters->BackBufferWidth, pPresentationParameters->BackBufferHeight, SWP_SHOWWINDOW | SWP_FRAMECHANGED); + ShowWindow(whichHWND, SW_SHOW); } TRACE("Creating back buffer\n");